65X-DOS/config/kernel.scm

52 lines
1.3 KiB
Scheme
Raw Normal View History

2024-07-07 17:37:04 +02:00
(define memories '(
(memory RAM
(address (#x000200 . #x001FFF))
2024-07-12 05:47:54 +02:00
(type RAM)
2024-07-07 17:37:04 +02:00
(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)
)
2024-07-12 01:29:16 +02:00
(memory LOROM
(address (#x008000 . #x00FFFF))
(scatter-to low_rom)
(section (boot #x008000))
(section irq_handlers)
)
2024-07-07 17:37:04 +02:00
(memory ROM
(address (#xC00000 . #xC0FFFF))
2024-07-12 05:47:54 +02:00
(type ROM)
2024-07-12 01:29:16 +02:00
(section (low_rom #xC08000))
(section code)
2024-07-07 17:37:04 +02:00
(section farcode)
(section switch)
(section near)
2024-07-12 08:55:55 +02:00
(section cfar)
2024-07-08 05:08:08 +02:00
(section ihuge)
2024-07-08 05:35:11 +02:00
(section data_init_table)
2024-07-07 17:37:04 +02:00
)
(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 RAM #x00)
2024-07-07 17:37:04 +02:00
))