Consistently place constructors (and their exclusive subroutines) in "INIT".
This commit is contained in:
@@ -7,9 +7,10 @@
|
||||
SCREEN_BUF_SIZE = 20 * 24
|
||||
SCREEN_BUF = $4000 - SCREEN_BUF_SIZE
|
||||
|
||||
.code
|
||||
.export screen_setup_20x24
|
||||
|
||||
.segment "INIT"
|
||||
|
||||
screen_setup_20x24:
|
||||
|
||||
; initialize SAVMSC
|
||||
@@ -79,5 +80,4 @@ dlist: .repeat 3
|
||||
|
||||
.assert ((* >> 10) = (dlist >> 10)), error, "Display list crosses 1K boundary"
|
||||
|
||||
|
||||
.end
|
||||
|
||||
Reference in New Issue
Block a user