37 lines
911 B
Scheme
37 lines
911 B
Scheme
(define memories '(
|
|
|
|
(memory Code
|
|
(address (#x008000 . #x0080FF))
|
|
(section code)
|
|
(section cdata)
|
|
(section switch)
|
|
)
|
|
|
|
(memory Data
|
|
(address (#x008100 . #x0081FF))
|
|
(section near)
|
|
(section data)
|
|
(section znear)
|
|
(section zdata)
|
|
)
|
|
|
|
(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 Data 0)
|
|
))
|