Videopac / Odyssey2 forum
September 28, 2021, 02:34:35 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Al lot of attachments from Nov 2011 till april 2012 are damaged. Please ask the original poster to re-upload if you need them.
 
   Home   Help Login Register links videopac.nl  
Pages: [1]   Go Down
  Print  
Author Topic: MAME emulation improvements  (Read 680 times)
hap
Trying to get the cartridge in...
*
Posts: 6


« on: January 26, 2021, 07:43:19 PM »

I'm a developer for MAME (emulator software)
https://www.mamedev.org/
https://github.com/mamedev/mame

I suppose I can make this a followup post to this old one: http://videopac.nl/forum/index.php?topic=547.0
A couple of years ago, MAME incorporated MESS. So it's not just arcade games anymore, but anything goes. Including of course Videopac and Odyssey 2.

I recently did further improvements to the Videopac/Odyssey 2 emulation. Let me summarize them briefly and then I'll mention known remaining problems.
- cpu: fixed timer interrupt, some other bugfixes
- i824x(video chip): fixed collision detection, fixed some quads not showing, and increased renderer accuracy from per-scanline to per-pixel
- ef934x(the extra videochip in VP+): added double width/height, cursor, blink, bugfixes
- cartridge types: added Chess, Home Computer, Philips Service Test, 4 in a Row, Rally

Known problems:
- Backgammon does not draw all chars/sprites. I have no clue why and gave up trying, maybe there's an undocumented i8245 trick.
- Helicopter Rescue sometimes locks up on the sea level. Not sure, could be interrupt problem.
- Puzzle Piece Panic video glitches on PAL (works fine on odyssey2 and odyssey3). I think it's caused by imperfect video timing.
- Great Wallstreet Hunt has some video issues on PAL, maybe the dump we have is for the USA version and the Videopac rom is slightly different.
- major system overlay with itself doesn't work like on the real console (Rafael uses it to his advantage in some homebrews), this would need more research

For those that are interested in the VP/O2 related source code:
main driver file:
https://github.com/mamedev/mame/blob/master/src/mame/drivers/odyssey2.cpp

cartridges:
https://github.com/mamedev/mame/tree/master/src/devices/bus/odyssey2

softwarelist:
https://github.com/mamedev/mame/blob/master/hash/videopac.xml

8048 CPU:
https://github.com/mamedev/mame/tree/master/src/devices/cpu/mcs48

8244/5 video chip:
https://github.com/mamedev/mame/blob/master/src/devices/video/i8244.h
https://github.com/mamedev/mame/blob/master/src/devices/video/i8244.cpp

EF9340/1 video chip:
https://github.com/mamedev/mame/blob/master/src/devices/video/ef9340_1.h
https://github.com/mamedev/mame/blob/master/src/devices/video/ef9340_1.cpp

Actually, when I started coding on the emulation, my intention was to add that Chess Module. But as I progressed I saw more and more problems, so I just fixed/improved whatever I could.
Since my initial mission was the Chess module, lemme finish this post with a screenshot of that:

(I really can't get used to those chesspiece sprites)
« Last Edit: January 26, 2021, 10:02:09 PM by hap » Logged
hap
Trying to get the cartridge in...
*
Posts: 6


« Reply #1 on: January 28, 2021, 04:16:37 PM »

Something else I forgot to mention, it's valuable to O2EM users too:
René shared some of his rom dumps, and if you google around for the MAME videopac softwarelist they should be in there.

- Des Chiffres et des Lettres
- Philips Service Test Cartridge
- Sherlock Holmes prototype
- Linguaduc prototype

Odyssey3 prototypes:
- Attack of the Timelord
- Baseball
- Flash Point
- Freedom Fighters
- Killer Bees
- Terminal Program
Logged
Rafael
Pedit5
I take the Videopac and leave the Canoli!
*
Posts: 2728



« Reply #2 on: January 28, 2021, 08:09:39 PM »

Thanks by your efforts, Ill be checkin it.
Logged
Florian
Trying to get the cartridge in...
*
Posts: 4


« Reply #3 on: February 03, 2021, 05:17:26 PM »

René shared some of his rom dumps, and if you google around for the MAME videopac softwarelist they should be in there.

- Des Chiffres et des Lettres
- Philips Service Test Cartridge
- Sherlock Holmes prototype
- Linguaduc prototype

I'd love to try those out with O2EM (or MAME). But unfortunately, I can't find those roms via a google search.
Is there a link?  Kiss


Odyssey3 prototypes:
- Attack of the Timelord
- Baseball
- Flash Point
- Freedom Fighters
- Killer Bees
- Terminal Program

What is Terminal Program? Is that a game or could it be it was a terminal emulator for the O3 Huh?
(If the latter, how's a connection supposed to be realized (serial link?))
Logged
hap
Trying to get the cartridge in...
*
Posts: 6


« Reply #4 on: February 04, 2021, 06:08:09 PM »

I won't pretend that I don't break copyright laws, but I don't think it's a good idea to do that on a forum.

"Terminal Program" is not much, you can type stuff on the screen. I don't know what the final product was supposed to be (or if it even was meant as consumer product). I've made a screenshot.

Logged
Florian
Trying to get the cartridge in...
*
Posts: 4


« Reply #5 on: February 04, 2021, 08:57:39 PM »

I won't pretend that I don't break copyright laws, but I don't think it's a good idea to do that on a forum.

Ooo, I didn't mean anything bad  Embarrassed
This stuff is almost 40 years old and mostly prototypes that were given to members of this Videopac community, so I assumed there was no legal issues.

"Terminal Program" is not much, you can type stuff on the screen. I don't know what the final product was supposed to be (or if it even was meant as consumer product). I've made a screenshot.


Thanks for the screenshot, it does look like it would be a terminal emulator indeed. And with it, you may have connected online to bulletin boards, etc.
I found an awesome prom video for the O3, look after 2m 22s: https://www.youtube.com/watch?v=HU5LiZH_W7Y

Perhaps we can use this tty to operate something like a RaspberryPi from a Command Center, that would be so cool to try Smiley  Cool
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!