|
Post by willymanilly on Feb 12, 2017 21:36:42 GMT
I've just started working on a c128 emulator and my first goal is to get the VIC version of Risen from Oblivion working. I've been making good progress including getting the final frog screen showing graphics in the upper/lower border but I've hit a roadblock with a couple of the effects because I'm finding it challenging to get my hands on any detailed information on how clock stretching actually works for the c128. The best I have been able to find is the obvious information that PLA, processor, and VIC chip are involved with syncing the 2MHz clock with the 1MHz I/O chips. I've been hammering away for the last few days but just can't get the timing right. If anyone can point me in the right direction with more detailed information than what the C128 programmers reference guide and mapping the c128 offer, it will be much appreciated. You can download my emulator here to see the progress I have made. ==> www.z64k.com
|
|
|
Post by VDC 8x2 on Feb 13, 2017 22:41:16 GMT
I am searching for clock stretching. I hope your c128 emulation can do 80 col interlace.
|
|
|
Post by willymanilly on Feb 14, 2017 0:25:18 GMT
I am searching for clock stretching. I hope your c128 emulation can do 80 col interlace. Thanks.
Yes, I will be implementing 80 col interlace and I have already started on the coding for that. I'm hoping to having a first draft of the interlace emulation available for download by the end of this week.
|
|
|
Post by Pyrofer on Feb 14, 2017 12:46:23 GMT
It will be fun to try my code against it and see how it copes with the smooth scrolling 80col bitmap and VGA mode etc.
|
|
|
Post by VDC 8x2 on Feb 14, 2017 21:51:14 GMT
If you get 80 col interlace going, I will bow down and wash your feet with my tears of joy. lol
|
|
|
Post by willymanilly on Feb 15, 2017 5:10:38 GMT
Lol. I have just updated the emulator and have successfully got 80 col interlace working! It's not perfect yet so you can hold back with bowing down for now but at least it's a start. You can see my website for more details and download the latest version.
Just FYI, The C64 emulation should be reasonably stable because it almost the same code as C64 Beta but the C128 still needs some work to the MMU, VDC, and VICIIe testbit and clock stretching so I don't expect all programs to work correctly yet. The C1571 emulation supports double side/2Mhz mode but doesn't have fast serial or MFM support yet. In saying that, if you have any programs that doesn't work that you would like to see work, let me know and I will look into them.
|
|
|
Post by bjonte on Feb 15, 2017 8:13:13 GMT
You have been doing this for years so it looks very promising, willymanilly. I'm looking forward to trying this out later.
|
|
|
Post by Pyrofer on Feb 15, 2017 11:17:54 GMT
I will definitely be following this with interest. If it becomes a valid way of testing my code instead of copying onto real hardware it could save me a lot of time.
|
|
|
Post by bjonte on Feb 20, 2017 18:46:01 GMT
I ran Z64K yesterday and had some problems with the framerate when limiting it. Are you interested in that kind of feedback at this point or is it too early in development? Maybe you should start a thread to discuss the emulator willymanilly?
|
|
|
Post by willymanilly on Feb 20, 2017 20:16:05 GMT
I ran Z64K yesterday and had some problems with the framerate when limiting it. Are you interested in that kind of feedback at this point or is it too early in development? Maybe you should start a thread to discuss the emulator ? The C128 version of the emulator is still in very early development stage but I am keen for all feedback for any of the emulators. I'm constantly making improvements, the latest being fast serial support for the C128 and C1571! I uploaded a new version to the website last night. Being able to get examples of what it is not currently working as expected helps immensely with building an accurate emulator so yes, please send me details of the frame rate issue. Creating a new thread to discuss the emulator is a great idea and I planned on creating one once I have the core of the emulator complete.
|
|