65X-DOS/config/kernel.scm

45 lines
1.2 KiB
Scheme

(define memories '(
(memory RAM
(address (#x000200 . #x001FFF))
(section zhuge)
(section znear)
(section zdata)
(section huge)
(section heap)
)
(memory ROM
(address (#xC08300 . #xC0FFFF))
(section (code #xC08300))
(section farcode)
(section cdata)
(section switch)
(section near)
(section data)
(section chuge)
(section ihuge)
(section (irq_trampolines #xC0F000))
(section (irq_vectors #xC0FF80))
)
(memory Stack
(address (#x000100 . #x0001FF))
(section (stack #x00100))
)
(memory DirectPage
(address (#x000000 . #x0000FF))
(section
(registers #x000004)
(ztiny)
)
)
(block stack (size #x100)) ; machine stack size
(base-address _DirectPageStart DirectPage 0)
(base-address _NearBaseAddress ROM 0)
))