From 31286bcad530238aa4034a1f35e16752bc1ea0d6 Mon Sep 17 00:00:00 2001 From: Natt Akuma Date: Sun, 30 Nov 2025 18:39:21 +0700 Subject: [PATCH] Add beginning info text --- loader/samples/minexample/lilia_talk.bin | Bin 22739 -> 22739 bytes loader/samples/minexample/main.asm | 5 +- loader/samples/minexample/minexample.s | 74 ++++++++++++++++++++++- 3 files changed, 74 insertions(+), 5 deletions(-) diff --git a/loader/samples/minexample/lilia_talk.bin b/loader/samples/minexample/lilia_talk.bin index 8796b1afb25c8ca9523ff77a3294dbb86167a6fb..c1e4edef4127494a3d2b0dc6410cd5b7f2c3c8d4 100644 GIT binary patch delta 219 gcmcb-k@50I#tjKd^$i0HJgH{=M8>GiP0E3$0K=YZ&j0`b delta 18 acmcb-k@50I#tjKd8wHdYH#aEcopyright diff --git a/loader/samples/minexample/minexample.s b/loader/samples/minexample/minexample.s index 76eca09..3fe7e6b 100644 --- a/loader/samples/minexample/minexample.s +++ b/loader/samples/minexample/minexample.s @@ -14,6 +14,7 @@ pntr = ZP+7 .org $080d + jsr print_info copy_start: sei @@ -53,8 +54,8 @@ check_return: dec $01 jmp CODE_START_ADDR - .assert zx02 = $082f, error, .sprintf("change zx02 address to $%04x", zx02) - .assert check_return = $08b5, error, .sprintf("change check_return address to $%04x", check_return) + .assert zx02 = $0832, error, .sprintf("change zx02 address to $%04x", zx02) + .assert check_return = $08b8, error, .sprintf("change check_return address to $%04x", check_return) .res loadraw - * .incbin "../../build/loader-c64.prg", 2 @@ -63,3 +64,72 @@ check_return: .incbin "../../build/install-c64.prg", 2 code: .incbin "main.zx0" + +print_info: + lda #$20 + ldx #0 +: + sta $400,x + sta $500,x + sta $600,x + sta $700,x + inx + bne :- + lda #41 + sta ZX0_dst + lda #4 + sta ZX0_dst+1 + lda #$17 + sta $d018 + ldy #0 +@print_loop: + lda info,x + bne :++ + lda ZX0_dst + clc + adc #40 + sta ZX0_dst + bcc :+ + inc ZX0_dst+1 +: + ldy #0 + beq :++ +: + sta (ZX0_dst),y + iny +: + inx + cpx #info_end-info + bne @print_loop + rts + + .macpack cbm +info: + scrcode "Code:" + .byte 0 + scrcode " Aart1256 - engine, music driver" + .byte 0 + scrcode " Natt - engine, tooling" + .byte 0, 0 + scrcode "C64 Graphics:" + .byte 0 + scrcode " Grongy" + .byte 0 + scrcode " Natt" + .byte 0, 0 + scrcode "Music arranges & ported graphics:" + .byte 0 + scrcode " Aleksa Odzakovic (spaztron64)" + .byte 0, 0 + scrcode "Greetz to:" + .byte 0 + scrcode " Gyabo" + .byte 0 + scrcode " Yosshin" + .byte 0 + scrcode " Hadohado" + .byte 0 + scrcode " Kazpulse" + .byte 0 + scrcode " Gam" +info_end: