Merry Christmas - O2EM 1.20 (with C7420 emulation)

Started by manopac, December 24, 2011, 12:26:51 AM

Previous topic - Next topic

LS650

I've been running v1.18 for a long time.  I tried this version and have to say I prefer it; I really like the built-in file loader rather than mucking about with the add-on frontends.

8)

daddy_scott

I've tried to use this and am having no luck.  I know it is an operator error rather than a software one.  I just don't understand code and scripts well enough, admittedly.

Are there instructions on using this program?  I have it downloaded and can get a screen to pop up, but that is about all I'm able to do.  If someone has step-by-step setup instructions, I would appreciate the help. 

While I love playing on my actual hardware, I can see sometimes playing on my computer too.

manopac

what exactly pops up? may help me to tell you what's going wrong ;-)

easiest thing is - run a command window (if you are running windows -> Start -> where it says "Search programs and files" type "cmd.exe" hit enter -> navigate to the directory you installed O2EM in (e.g. cd \emulators\o2em)
and type o2em -> hit enter and you will see the error message it says (most probably it is missing the system-rom ...)

sex, lies, and videopac

Rafael

Some Vectrex emulators have a suport from Overlay (despite, I never understand how it works). It´s possible to do it on O2em. The main objective is to load some images for plus graphics testings???

manopac

hm ... so you would want to be able to load a background image if the videopac+ mode is disabled? I currently don't really have time to work on it, but will put it on my to-do list ;-)
sex, lies, and videopac

19rsn007

sorry for this reply on an old topic.

Does anyone still have the source for this version ?
I wanna try to compile the thing for linux.

manopac

no problem ;-) I got you pm, but didn't get around yet to pack together everything you need - pm me your email address and I will try to send it today!
sex, lies, and videopac

19rsn007

Quote from: manopac on January 21, 2015, 07:41:44 AM
no problem ;-) I got you pm, but didn't get around yet to pack together everything you need - pm me your email address and I will try to send it today!

Hey Manopac,

Gertk gave me the source and with a bit of tinkering with the makefile, I got it compiled and running in a native linux form :D

after compiling I had to delete the .XML config file and just state my options in terminal (for c7420 that is), but eventually I got it working.


No for the next goal.....get the C7010 working :D

19rsn007

#38
more playing around with o2em....

This time I was looking into emulating the C7010.
Got it booting up, even got a game started, but lots of work to be done.

This NSC800 (a z80 comatible cpu) in the C7010 isn't emulated fully yet.
And O2EM needs some cycle accuracy tweaking.
But I actually got the C7010 emulation started :D




so far I can boot O2EM with the C7010 VP rom (nothing special there)
I can start a game, seeing the checkerboard (still nothing special there)
I can start a chess game by pressing the N-key and select my skill (1-6)
Then the board is filled with characters....and as you can see the video isn't build up as should (yes I started O2EM with the -euro option to set it to european mode)
Then I can give the commands for moving a piece and from there on the emu crashes me back to terminal with an "unimplemented instruction"

So the start is there, but there is still a lot of work to be done.

this is what I get right now after trying to move a piece:

goldenband

Hey, nice to see that C7010 emulation is actively being worked on!

FWIW MESS seems to be stalled at about the same place: you can start a game, and in the case of MESS the pieces seem to be correctly displayed, but the CPU will never make a move.

19rsn007

Quote from: goldenband on January 30, 2015, 07:44:32 PM
Hey, nice to see that C7010 emulation is actively being worked on!

FWIW MESS seems to be stalled at about the same place: you can start a game, and in the case of MESS the pieces seem to be correctly displayed, but the CPU will never make a move.

Yeah I tried it in MESS and noticed the exact same problem.
The computer never makes a move.

I did look into the code of mess a little, but even mess isn't really cycle accurate when it comes to O2 video timing.

goldenband

Quote from: 19rsn007 on February 02, 2015, 09:26:09 AMYeah I tried it in MESS and noticed the exact same problem.
The computer never makes a move.

I did look into the code of mess a little, but even mess isn't really cycle accurate when it comes to O2 video timing.

That doesn't surprise me, but I figure the main issue is that the C7010 processor just isn't implemented at all -- the game looks for a brain, and doesn't find one. Kind of the opposite of the Scarecrow, I suppose.  :P

19rsn007

Quote from: goldenband on February 03, 2015, 02:40:17 AM
That doesn't surprise me, but I figure the main issue is that the C7010 processor just isn't implemented at all -- the game looks for a brain, and doesn't find one. Kind of the opposite of the Scarecrow, I suppose.  :P

the NSC800 is implented in MESS as far as I recall, but somehow it's not working properly.

Sorex

Hello,

Are there any known issues of roms that worked in 1.18 that are not working anymore in 1.20?

I'm setting up my development environment again after almost 7 years and I noticed this (old) update so I "installed" it here.

But one of my first tests back then, which is far from rocket science, is not doing anything in this "new" version although it works fine in 1.18.

Might be my code aswell tho, will dig into it.

Sorex

adding screen off & on kernal calls solved that problem.