This is a curious add-on to the former Odissey/Magnavox gaming console.
When Philips acquired it they decided to sell it with the "Philips Videopac" name and to propose few powerful (in those days) expansions.
One of such expansions was the C7420 module, featuring a Z80 and a BASIC interpreter.
Enough for us, so here it is !!
Philips Videopac C7420
I tried compiling something for this target for the first time, but I couldn't get anything running.
Here is my code (hello.c):
I compile it like this:
zcc +c7420 -create-app -o hello hello.c
Then I copy the created .bas file into the "basic" subdirectory of the O2EM emulator (I tried both 1.20 Beta 5 and 1.21), start the emulator like this...
o2em -config=c7420
...and press 0 to get into Basic. Then I load the program like this:
cload"hello"
When loading is finished after some time, I type
run
but nothing happens.
Have I done something wrong, or is something broken with this target?
Interestingly, the heli.bas demo does not start every time I run it, maybe the emulator does not run entirely stable.
Here is my code (hello.c):
Code: Select all
void main()
{
printf("hello");
}
zcc +c7420 -create-app -o hello hello.c
Then I copy the created .bas file into the "basic" subdirectory of the O2EM emulator (I tried both 1.20 Beta 5 and 1.21), start the emulator like this...
o2em -config=c7420
...and press 0 to get into Basic. Then I load the program like this:
cload"hello"
When loading is finished after some time, I type
run
but nothing happens.
Have I done something wrong, or is something broken with this target?
Interestingly, the heli.bas demo does not start every time I run it, maybe the emulator does not run entirely stable.
I'm sorry, there is something wrong but I wasn't able to fix this target anymore.
Be aware that only a later non official obscure version of the emulator worked, obviously this is not an excuse.
I probably should get back to the old z88dk version which hopefully worked and begin trying to build something at that stage.
Be aware that only a later non official obscure version of the emulator worked, obviously this is not an excuse.
I probably should get back to the old z88dk version which hopefully worked and begin trying to build something at that stage.