msx1: move the constant area into the 16K RAM
authorAlan Cox <alan@linux.intel.com>
Sun, 7 Apr 2019 10:39:28 +0000 (11:39 +0100)
committerAlan Cox <alan@linux.intel.com>
Sun, 7 Apr 2019 10:39:28 +0000 (11:39 +0100)
This has a cost in space terms but means that anything we might copy to or from
user space is now >= 0xC000, which means it will always be mapped so we can just
ldir blocks when doing uput/uget.

As the bank switching on MSX is so chronically slow this is important

Kernel/platform-msx1/crt0.s

index 4614cd8..2bfec4c 100644 (file)
@@ -6,9 +6,9 @@
                .area _CODE2
                .area _HOME
                .area _VIDEO
-               .area _CONST
-               ; RAM based
+               ; RAM based or may be copied to/from by the user
                .area _COMMONMEM
+               .area _CONST
                .area _INITIALIZED
                .area _GSINIT
                .area _GSFINAL