Clean up Assembly files (#1003)

This commit is contained in:
MrBrain295
2021-05-08 09:57:36 -05:00
committed by GitHub
parent 45856bf57b
commit 7f7369291b
20 changed files with 174 additions and 196 deletions

View File

@@ -6,28 +6,27 @@
;***************************************************************************
org 0
; this header required to identify ROM by Vectrex hardware (only year allowed to change)
db "g GCE 2016", $80 ; 'g' is copyright sign
dw $F600 ; music from the rom (no music)
db $FC, $30, 33, -$2a ; height, width, rel y, rel x for app title
db "HELLO WORLD", $80 ; app title, ending with $80
db 0 ; end of header
; main loop (required to redraw vectors on CRT screen)
db "g GCE 2016", $80
dw $F600
db $FC, $30, 33, -$2a
db "HELLO WORLD", $80
db 0
loop:
; recalibrate CRT, reset beam to 0,0 (center of the screen)
jsr $f192 ; Wait_Recal subroutine in ROM
jsr $f192
ldu #helloworld ; string address
lda #10 ; Y
ldb #-45 ; X
ldu #helloworld
lda #10
ldb #-45
jsr $f37a ; Print_Str_d subroutine in ROM
jsr $f37a
bra loop
; Text data ($80 - end of line)
helloworld: db 'Hello World',$80