Hallo, guten Tag.
Wie kann man bitte Werte an eine bestimmte Adresse packen bei ASM mit ACME?
Code
- !to "vbasic3.p", cbm
- basic = $1201
- screenram = $1000
- farbram = $9400
- * = basic
- !byte $0b, $08
- !byte $e3
- !byte $07, $9e
- !byte '0' + entry % 10000 / 1000
- !byte '0' + entry % 1000 / 100
- !byte '0' + entry % 100 / 10
- !byte '0' + entry % 10
- !byte $00, $00, $00
- entry
- ldy #$08
- ldx #$00
- character
- lda text,x
- sta screenram,x
- lda #4
- sta farbram,x
- inx
- dey
- bne character
- ldy #16
- ldx #0
- character1
- lda text1,x
- sta screenram+22,x
- lda #5
- sta farbram+22,x
- inx
- dey
- bne character1
- ldy #$05
- ldx #$00
- character2
- lda text,x
- sta screenram+27,x
- lda #3
- sta farbram+27,x
- inx
- dey
- bne character2
- rts
- text
- !byte 81,81,81,81,81,81,81,81
- text1
- !scr "entf: hoehe:"
- -----------------die in $a000 ablegen in diesem Programm, es kommen noch mehr Adressen
- !byte 1,2,3,4,5,6,7,8
- -------------------------------------------------------------------
Danke.
Gruss