atari5200: put default display list into its own memory area
This avoids 1K boundary crossing of the display list. Fix for issue #560.
This commit is contained in:
@@ -58,7 +58,7 @@ clrscr: sta (SAVMSC),y
|
||||
rts
|
||||
|
||||
|
||||
.segment "RODATA"
|
||||
.segment "DLIST"
|
||||
|
||||
; display list for 20x24 text mode
|
||||
|
||||
@@ -78,6 +78,9 @@ dlist: .repeat 3
|
||||
|
||||
; end of display list
|
||||
|
||||
.export __DLISTSIZE__
|
||||
__DLISTSIZE__ = * - dlist
|
||||
|
||||
.assert ((* >> 10) = (dlist >> 10)), error, "Display list crosses 1K boundary"
|
||||
|
||||
.end
|
||||
|
||||
Reference in New Issue
Block a user