| |
Richard
Registered: Dec 2001 Posts: 621 |
Debate topic - C64 Forum Abusers
Please visit:
http://www.network54.com/Hide/Forum/188818
As I have a debate regarding people who abuse C64 forums.
Also, can any of you give me advice on keeping control on raster bars. When I use large raster splits, I seem to slow down the screen. |
|
| |
Stryyker
Registered: Dec 2001 Posts: 468 |
As for your larger sprites, sure you just aren't using lots more raster time and using more than the current frame? Or could it be bad line issues? |
| |
Richard
Registered: Dec 2001 Posts: 621 |
I am having difficulties making multiple interrupts inside an IRQ. The thing is that I am trying run more than one interrupt, but when I link these interrupts, they crash the program. For example
*=$0900
SEI
LDA #<INT1
LDX #>INT2
LDY #$00
STA $0314
STX $0315
STY $D012
LDA #$7F
STA $DC0D
STA $DD0D
LDA #$01
STA $D019
STA $D01A
LDA #$00
TAX
TAY
JSR $1000
CLI
HOLD JMP HOLD
INT1 LDA $D019
AND #$01
STA $D019
BNE RASTER1
JMP $EA81
RASTER1 LDA #<INT2
LDX #>INT2
LDY #$30
STA $0314
STX $0315
STY $D012
BNE RASTER2
JMP $EA81
RASTER2 LDA #<INT3
LDX #>INT3
LDY #$7C
STA $0314
STX $0315
STY $D012
BNE IRQ
JMP $EA81
IRQ JSR $1003
JMP $EA81
INT2 LDA #$02
STA $D020
STA $D021
JMP $EA81
INT3 LDA #$00
STA $D021
STA $D020
JMP $EA81
What the program is supposed to do is save raster time when forming
a black and red raster split, but the trouble is that it wont work. I
tried replacing JMP $EA81 inside INT2 and INT3 with RTS, but it crashes
the program. What should I do?
|
| |
Moloch
Registered: Jan 2002 Posts: 2925 |
Shouldn't this kind of posting be in the coding forum?
|
| |
Stryyker
Registered: Dec 2001 Posts: 468 |
Yes, should be in coders forum. Also, richard should follow the program flow. It makes the code seem a little scattered. What other interrupts are enabled? |