implement startup message

This commit is contained in:
Paul Gardner-Stephen committed 2019-04-22 20:53:37 +09:30
1 parent 4495d22a10
commit 7f2f52052d
1 file changed
+18
+18
View File
@@ -5,7 +5,25 @@ basic_cold_start:
;; Setup BASIC vectors at $0300
;; Initialise interpretor
;; Print start up message
ldy #>startup_message
lda #<startup_message
jsr print_string
;; jump into warm start loop
jmp basic_warm_start
startup_message:
;; Clear the screen
.byte $93
;; Vertical bars in different colours
.byte $1C,$B4
.byte $9E,$B5
.byte $1E,$A1
;; <RVS><WHITE>MEGA<NORMAL>BASIC
.byte $12,$05,$4D,$45,$47,$41,$92,$42,$41,$53,$49,$43
;; carriage return at end
.byte $0D
.byte 0