2024-07-07 17:37:04 +02:00
|
|
|
(define memories '(
|
|
|
|
|
|
|
|
(memory RAM
|
|
|
|
(address (#x000200 . #x001FFF))
|
|
|
|
(section zhuge)
|
|
|
|
(section znear)
|
|
|
|
(section zdata)
|
2024-07-08 05:08:08 +02:00
|
|
|
(section huge)
|
2024-07-07 17:37:04 +02:00
|
|
|
(section heap)
|
|
|
|
)
|
|
|
|
|
|
|
|
(memory ROM
|
|
|
|
(address (#xC08300 . #xC0FFFF))
|
2024-07-08 05:08:08 +02:00
|
|
|
(section (code #xC08300))
|
2024-07-07 17:37:04 +02:00
|
|
|
(section farcode)
|
|
|
|
(section cdata)
|
|
|
|
(section switch)
|
|
|
|
(section near)
|
|
|
|
(section data)
|
2024-07-08 05:08:08 +02:00
|
|
|
(section chuge)
|
|
|
|
(section ihuge)
|
2024-07-08 05:35:11 +02:00
|
|
|
(section data_init_table)
|
2024-07-07 17:37:04 +02:00
|
|
|
(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)
|
|
|
|
))
|