65X-DOS/config/kernel.scm

52 lines
1.3 KiB
Scheme
Executable File

(define memories '(
(memory RAM
(address (#x001000 . #x003FFF))
(type RAM)
(section zhuge)
(section znear)
(section zdata)
(section huge)
(section heap)
)
(memory LOROM
(address (#x008000 . #x00FFFF))
(scatter-to low_rom)
(section (boot #x008000))
(section irq_handlers)
)
(memory ROM
(address (#xC00000 . #xC0FFFF))
(type ROM)
(section (low_rom #xC08000))
(section code)
(section farcode)
(section switch)
(section near)
(section cfar)
(section ihuge)
(section data_init_table)
)
(memory Stack
(address (#x000200 . #x000FFF))
(section (stack #x00200))
)
(memory DirectPage
(address (#x000000 . #x0000FF))
(section
(registers #x000004)
(ztiny)
)
)
(block stack (size #xE00)) ; machine stack size
(base-address _DirectPageStart DirectPage 0)
(base-address _NearBaseAddress RAM #x00)
))