|
Post by dshadoff on Jan 26, 2021 23:35:19 GMT
Oh wow... looks like the handoff needs to sync to VBlank, then set an RCR interrupt toward the end of frame before resetting the video registers and handing off ? ...How is this not a problem on the original OS... ?
|
|
|
Post by turboxray on Jan 27, 2021 0:41:40 GMT
Oh wow... looks like the handoff needs to sync to VBlank, then set an RCR interrupt toward the end of frame before resetting the video registers and handing off ? ...How is this not a problem on the original OS... ? Maybe it only uses the timer interrupt and/or polls the status flag?
|
|
|
Post by dshadoff on Jan 27, 2021 0:56:57 GMT
No, I meant, how in the world did Krikzz figure out about VSYNC-related timing during handoff... or does it just magically work for his code, without any real knowledge of the issue ? The code was really hard to try to reverse-engineer, but I didn't see anything weird like that going on.
|
|
|
Post by elmer on Jan 27, 2021 1:01:42 GMT
...How is this not a problem on the original OS... ? That is a good question! Did your work at disassembling KRIKzz's original OS get to the point of finding the handoff code? Maybe it only uses the timer interrupt and/or polls the status flag? That is the method that I'm using now to sync to the screen retrace. I have set an RCR on line $40 (the top of the displayed screen), and then just poll the VDC status register in a loop to sync to that line. It is working fine, and I'll upload a new beta version of TEOS soon.
|
|
|
Post by elmer on Jan 27, 2021 2:37:20 GMT
Here is the latest public beta of TEOS. It fixes problems with the following games ... * Tower of Druaga * Space Harrier * Shiryou Sensen * Out Live * Benkei Gaiden * Gekisha Boy * Night Creatures Just extract the archive, and copy the files to the root of your Turbo EverDrive's SD card. In particular ... the contents of the /TBED/ directory *must* go in that directory. If you have already got some of those files in your /TBED/ directory, then you must have been running an earlier beta version ... please do NOT overwrite those files, or you will lose your BRAM saves. While you *can* theoretically rename teos.pce to OS.PCE and put it in your /TBED/ directory, and it should work, I do NOT recommend doing that at this point. This is a beta test version of TEOS, and it is far safer to just run it like a normal cart from Krikzz's OS ... you have been warned!Please report any problems here in this forum/thread, and not on Krikzz's forum. TEOS Beta5
|
|
|
Post by theshadowrunner on Jan 27, 2021 3:42:02 GMT
Thank you very much for this new beta, I tried Tower of Druaga and it works fine here. And also thank you for the -GT build, it does make a difference! While displaying 10 items per page (instead of 20) and doubling the font size would certainly be the solution, it already makes deciphering titles a bit easier!
|
|
sarge
Punkic Cyborg
Posts: 104
Fave PCE Shooter: Soldier Blade
Fave PCE Game Overall: Dracula X: Rondo of Blood
Fave PCE RPG: Dungeon Explorer II
|
Post by sarge on Jan 27, 2021 4:52:03 GMT
I know it's not recommended to run it as a main OS, but I wonder what would happen if it were booted that way, instead of through KRIKzz's OS first? (I'm not brave enough to give it a shot, although I suspect it wouldn't ruin anything.) The primary reason that I don't recommend using TEOS to replace KRIKzz's TED2 OS, is that TEOS does not (yet) support the TED2's USB upload functionality, which is a critical thing for homebrew developers who want to use the TED2 for testing. If you didn't pay the extra money to get a TED2 with USB port (back when KRIKzz was selling them), then there *shouldn't* be much of a problem with using TEOS as your main OS ... but I've not tested it personally in quite a while. This is good to know. I don't have one with the USB port, so at some point I may just transition to TEOS as my main OS. Thanks so much for your work on this!
|
|
|
Post by goemon on Jan 27, 2021 14:07:22 GMT
Ah a new version. I will check it out later today and do some testing
|
|
|
Post by elmer on Jan 27, 2021 19:41:46 GMT
Ah a new version. I will check it out later today and do some testing Thanks!
|
|
|
Post by goemon on Jan 27, 2021 20:10:17 GMT
About Wonder Momo. I think that title screen looks buggy:
|
|
|
Post by elmer on Jan 27, 2021 20:59:23 GMT
About Wonder Momo. I think that title screen looks buggy: Yep, that looks bad on your system ... but I can't see any problem here with my 256KB Wonder Momo ROM that has a 32-bit CRC of $59D07314.
|
|
|
Post by dshadoff on Jan 27, 2021 21:30:15 GMT
Wonder Momo works properly for me too, and the CRC32 which elmer provided is correct. You probably have a hacked version of the ROM which was made to change timing of the initialization loop so that Mednafen wouldn't display it incorrectly (Mednafen shows the correct ROM in the same way as above, so likely somebody hacked it to display the screen properly, rather than improve the emulation quality). One very important piece of information is that none of the software emulators have properly implemented the CPU<->Video wait-state timing cycles (although a couple are close). The original ROM of Wonder Momo is a key indicator, as emulators have a low chance of getting Wonder Momo to display correctly (without breaking some other games). The MiSTer FPGA system successfully implements this timing correctly (in case any emulator authors out there are looking for details on how it is supposed to work). ...But that's not so important for TEOS. One more thing... you can check your Japanese ROMs by CRC against this chart I created a few months ago. All ROMs were extracted from my actual HuCards, and double-checked against independent extracts - either a second copy of the same game in my own hands, or an independently-extracted image. I found that some of my actual cards had degraded, so the CRCs in this report are definitive. I ended up buying new copies of some games to fix my collection. I didn't supply CRCs for the USA ROMs because there are too many variables: 1) bit-flipped or not, 2) copy-protection removed or intact. I'd rather omit these than try to state what 'definitive' should mean. There's also some useful information about compatibility of CD-ROM based games and peripherals. docs.google.com/spreadsheets/d/1EhBL4tBfoU8blGWYKpvbMrOUfXQBNP1ukyLfDlqyZiM/edit#gid=436413762
|
|
|
Post by theshadowrunner on Jan 27, 2021 22:07:43 GMT
Wonder Momo is working ok here as well. dshadoff : did you ever compare your checksums to no-intro ?
|
|
|
Post by dshadoff on Jan 27, 2021 22:23:04 GMT
Wonder Momo is working ok here as well. dshadoff : did you ever compare your checksums to no-intro ? No... there's really no point for me (and I have enough projects going on). But I've made my information public, so somebody who is interested in No-Intro can check/correct/inquire/whatever.
|
|
flex
What's a PC Engine?
Posts: 4
|
Post by flex on Jan 28, 2021 16:43:48 GMT
Thanks for the update much appreciated! I have been using beta 4 as my main OS for a while now so I just updated the os.pce file with the new version and all is working great. I must have never come across those few games with the 4 screen issue but I can confirm they are all now working correctly on beta 5.
Thanks again.
|
|