|
Post by mirkosoft on Sept 8, 2014 10:24:15 GMT
OK, I mean the same, but is possible to get access it? Or control of it? Looks near impossible 'cause if it can be possible then can be accessed whole 128K RAM in 64 mode. I know how it looks, not possible is to GO128 from 64 mode, so Q is only one thing what I can. I wrote near impossible 'cause nobody tried it...
For me is also any idea or simple advice imporant.
Miro
|
|
|
Post by mirkosoft on Sept 6, 2014 18:39:07 GMT
Hi!
I'm searching for these hardware products - in case of buy no matter of price:
Z80 Videopak - cartridge with Z80 CPU and 80 column card for C64 too ROOS - 80 column cartridge for C64 - really perfect device in this category CBM64 80 Column Card - third video interface in case of C128 designed for C64 (using VDC 8563 chip) - if was in distribution...
I want to buy all or any of these devices no matter of price! Contact me if you have any. I know that all three are hard to find.
Miro
|
|
|
Post by mirkosoft on Sept 6, 2014 18:30:28 GMT
Hi!
Again maybe unreal thread. Since I began flirt with Z80 assembler I'm experimenting how to reach Z80 in impossible cases:
First it was like "deactivate SCPU by software and switch it". Now I know it's impossible, exist one instruction to stop CPU, but it means make computer dead (STP = Stop Processor), no switch anywhere 'cause SCPU has control over all. This can be solved by Z80 CPU by CP/M cartridge or Z-80 Videopak (includes also 80 column card for VIC) I'm searching for this cartridge, still not found, so I can't to write more.
But one Q here is: Is possible to activate Z80 from 64 mode? I know that 64 mode knows not bankswitching and no access 128 ROMs. Here's code to activate Z80 and switch back to 8502 from 128 mode:
activateZ80(8502code):
lda $ff00 ; store RAM config
pha ; to stack
sei ; disable interrupts
lda #$c3 ; store JP instruction for Z80 mode start
sta $ffee ; where PC points
lda #<z80start ; store lo-byte where to jump
sta $ffef ; to next byte
lda #>z80start ; store hi-byte where to jump
sta $fff0 ; to next byte
lda #$3e ; select RAM config for Z80 (here's first bank change - in 64 mode unknown) sta $ff00 ;
lda $d505 ; store mode
pha ; to stack
lda #$b0 ; set Z80 mode
sta $d505 ; this instruction deactivates 8502 and jumps by Z80 PC to $ffee ($d505 is like other addresses in 64 mode, so no this way) nop ; when is 8502 again activated 8502 PC points here
rts activate 8502(Z80code):
LD A, $3e ; store memory
LD ($ff00),A ; configuration (again figures bank operation) JP $ffe0 ; activate 8502 So, I know that it looks impossible, but I mean better is ask than abandon fight.
So, knows anyone any possible way to skip bankswitching?
Miro.
|
|
|
Post by mirkosoft on Sept 4, 2014 20:01:29 GMT
I found maybe a trick how to remap cursor keys universally for C128, 64 mode and C64. Maybe it is possible to do easier, but only this combination works:
90 0 7 257 /* Up -> CRSR Up */ 90 10 3 256 /* Up -> Up */ 90 0 7 1 /* Up -> CRSR Up */ 92 0 2 257 /* Left -> CRSR Left */ 92 10 5 256 /* Left -> Left */ 92 0 2 1 /* Left -> CRSR Left */ 93 0 2 264 /* Right -> CRSR Right */ 93 10 6 256 /* Right -> Right */ 93 0 2 0 /* Right -> CRSR Right */ 95 0 7 264 /* Down -> CRSR Down */ 95 10 4 256 /* Down -> Down */ 95 0 7 0 /* Down -> CRSR Down */
I'm now really satisfied with mapping VICE keyboard, only missing is remapping of Japanese keys Kana and No Convert - other keys I remapped succesfully with collaboration of VICE and AutoHotKey...
Maybe it helps more users.
Miro
|
|
|
Post by mirkosoft on Aug 20, 2014 18:44:21 GMT
Hm, of course it's not problem to use CVBS2SVHS cable, but really I need PAL version. I didn't knew that PAL and NTSC are so different... I try to find it here in Slovakia, we have standard PAL, so I mean that NTSC devices & cables are only for ask...
Tomorrow I ask our dealer for SVHS 2 RGB reduction - it looks like reduction, no as converter 'cause I found few, sadly not in Slovak markets and if here, too precious.
Thank you Robert.
Miro
|
|
|
Post by mirkosoft on Aug 20, 2014 5:41:45 GMT
Hi!
I own new PCIe HDMI/DVI/VGA and component capture card.
In VGA input I have connected Commodore 128 RGBI by CGA2VGA converter (80 column mode VDC) I want to connect to component (YPbPr) the composite CVBS Commodore 128 VIC.
How to connect composite output into component input?
Component has RCA connectors for Red, Green, Blue + L and R audio. Audio is not problem, problem is that composite output has 1 CVBS RCA connector...
How to connect it? Or needs it converter?
All ideas are welcome.
Miro
|
|
|
Post by mirkosoft on Aug 6, 2014 17:38:58 GMT
OK, this works, thank you Robert!
I send my laziness out and wrote bit of code and tested, works fine...
So, now is easy to get random numbers :-)
Miro
|
|
|
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
|
|
|
Post by mirkosoft on Aug 5, 2014 18:33:56 GMT
Here's Q: is it usable in Basic or in ML only? Why? I want to test it first in VICE with simple paste Basic line...
Basic always returns the same values described above.
Miro
|
|
|
Post by mirkosoft on Aug 5, 2014 18:23:38 GMT
Nice and perfectly using sprites, characters, mode together and in Basic!
Miro
|
|