| |
lan64+ Account closed
Registered: Mar 2007 Posts: 10 |
C64 Assembly Tutorial
Hi
Which the best tutorial for learn Assembly language???
And I want to make a multipart demo with some screens,sinus and rasters,but I have a little problem....
1 - I have a "Delta screen with rasters + some chars,etc"...but I need a routine for "Space Key and Load the Next part"
Please,help me!
Thanx |
|
... 10 posts hidden. Click here to view all posts.... |
| |
lan64+ Account closed
Registered: Mar 2007 Posts: 10 |
Yes Scout...that's right.
But my post has failed.
The "Press Space" routine I have here.
But I need the "Load Next Part" routine....only this
Please help me again
Thanks a lot. |
| |
Conrad
Registered: Nov 2006 Posts: 849 |
Quote:I need the "Load Next Part" routine....only this
Open monitor (I use AR6 cartridge) and enter this in:
.a c000
LDA #$08
TAX
TAY
JSR $FFBA
LDA #$0F (*)
LDX #$00
LDY #$C1
JSR $FFBD
LDA #$00
TAX
TAY
JSR $FFD5
JMP $(next part address)
.a c100
00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00
^
|
|
filename data
(*) #$0F is the number of characters in the file to load.
Probably not the fastest loader as it uses the standard kernal routines, but it is a good start. |
| |
Richard
Registered: Dec 2001 Posts: 621 |
Here's an interesting one for anyone who wants to display a Vidcom paint bitmap while loading something with a flashing border :)
;Loader
* = $c000
sei
ldx #$00
setpic lda $5800,x
sta $d800,x
lda $5900,x
sta $d900,x
lda $5a00,x
sta $da00,x
lda $5ae8,x
sta $dae8,x
inx
bne setpic
lda #$00
sta $d020
sta $d021
lda #$3b
sta $d011
lda #$02
sta $dd00
lda #$18
sta $d016
lda #$78
sta $d018
lda #<flashload
ldx #>flashload
sta $0328
stx $0329
cli
lda #$08
ldx $ba
tay
jsr $ffba
lda #$06
ldx #<loadname
ldy #>loadname
jsr $ffbd
lda #$00
jsr $ffd5
ldx #$08
jsr $ffc3
jsr $ffcc
jsr $ff81
lda #$03
sta $dd00
lda #$1b
sta $d011
lda #$14
sta $d018
lda #$08
sta $d016
lda #$37
sta $01
jmp $080c
flashload stx $d020
stx $d418
jmp $f6fe
loadname .text"FLNAME*"
|
Previous - 1 | 2 - Next |