bytes left message

This commit is contained in:
2022-11-13 08:29:48 -05:00
parent ce6ca29479
commit 7cbd5ad77e
+10 -5
View File
@@ -1909,16 +1909,21 @@ font4x4
;---------------------------------------------- ;----------------------------------------------
;RMT PLAYER and song loading shenaningans ;RMT PLAYER and song loading shenaningans
icl 'artwork/sfx/rmtplayr_modified.asm' icl 'artwork/sfx/rmtplayr_modified.asm'
org $b000 .IF * > MODUL-1
MODUL ; equ $b000 ;address of RMT module .ERROR 'Code and data too long'
;opt h- ;RMT module is standard Atari binary file already .ENDIF
.ECHO "Bytes left: ",$b000-*
org $b000 ;address of RMT module
MODUL
;RMT module is standard Atari binary file already
ins "artwork/sfx/scorch_str9-NTSC.rmt",+6 ;include music RMT module ins "artwork/sfx/scorch_str9-NTSC.rmt",+6 ;include music RMT module
;opt h+
MODULEND MODULEND
;---------------------------------------------- ;----------------------------------------------
.IF target = 5200 .IF target = 5200
.IF * > ROM_SETTINGS-1 .IF * > ROM_SETTINGS-1
.ERROR 'Code too long to fit in 5200' .ERROR 'Code and RMT song too long to fit in 5200'
.ENDIF .ENDIF
org ROM_SETTINGS ; 5200 ROM settings address $bfe8 org ROM_SETTINGS ; 5200 ROM settings address $bfe8
; "01234567890123456789" ; "01234567890123456789"