42 lines
1.1 KiB
Scheme
42 lines
1.1 KiB
Scheme
(define memories '(
|
|
|
|
(memory RAM
|
|
(address (#x000200 . #x001FFF))
|
|
(section zhuge)
|
|
(section znear)
|
|
(section zdata)
|
|
(section heap)
|
|
)
|
|
|
|
(memory ROM
|
|
(address (#xC08300 . #xC0FFFF))
|
|
(section code)
|
|
(section farcode)
|
|
(section cdata)
|
|
(section switch)
|
|
(section near)
|
|
(section data)
|
|
(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)
|
|
))
|