|
Post by mirkosoft on Aug 6, 2014 11:10:06 GMT
Hi!
I tried to use WDC65816 CPU (SuperCPU's CPU) opcode STP - Stop Processor to test if is possible to get work 8502 by software.
Not success - really it stops CPU and not handle anytime anything.
Here's source:
*=$2000
lda #00
sta 53370
clc
xce
sep #$30
inc $d021
stp
loop: inc $d020
jmp loop I had to work like you see: slow down to 1MHz, set 16-bit mode, set 8-bit AXY registers, increment VIC2E paper, stop CPU and I was experimenting if will continue 8502 (of course 8502's PC is there not) in loop incrementing VIC2E border.
Really if - when C128 starts (with SCPU) Z80 is initialized? And if get to work 8502? Or at turning on get control over all 65816?
Or better Q: How to initialize 8502 or Z80? It looks that STP opcode only send computer to death...
Any ideas are welcome...
Miro
|
|