[Hector] I have been doing some coding
Publié : 28 nov. 2018 13:28
Salut a tous,
During the last few days I have been doing some Hector Z80 coding.
Unfortunately I don't possess the real machine and I have been using the following emulators to check my code: VBHEctor4.1, MESS(MAME) and DcHectorv0.1.
I have been coding a sprite engine for a possible game.
I have one question question though and it is about interrupts as I am getting different behaviours when trying my code on the emulators.
When I use Halt to wait for the interrupt to kick in on DCHector and Mess, the computer stops at the Halt instruction and won't do nothing else but on VBHector it works...
I have found a way to make the code work on DCHector and MESS by adding the following code to my routine:
I haven't read all of the french documentation so I might have missed something...
Can someone try my code on the real machine please?Send me a PM with your email and will send you the tape wave file.
Here is a video of the engine:
https://youtu.be/11yZW0kfz1Q
(note the video is going twice as fast, I don't know why but you have an idea of how it is working)
Thanks
During the last few days I have been doing some Hector Z80 coding.
Unfortunately I don't possess the real machine and I have been using the following emulators to check my code: VBHEctor4.1, MESS(MAME) and DcHectorv0.1.
I have been coding a sprite engine for a possible game.
I have one question question though and it is about interrupts as I am getting different behaviours when trying my code on the emulators.
When I use Halt to wait for the interrupt to kick in on DCHector and Mess, the computer stops at the Halt instruction and won't do nothing else but on VBHector it works...
I have found a way to make the code work on DCHector and MESS by adding the following code to my routine:
Code : Tout sélectionner
DI
IM 1
EI
Can someone try my code on the real machine please?Send me a PM with your email and will send you the tape wave file.
Here is a video of the engine:
https://youtu.be/11yZW0kfz1Q
(note the video is going twice as fast, I don't know why but you have an idea of how it is working)
Thanks