Autor ::g0blinish Poslaná :: 28.03.2015 15:28:24 Predmet ::Re: Help with .COM for pmddos
How to sync video output?
EI, HLT doesn't work(
Správa
Autor ::Roman Bórik Poslaná :: 28.03.2015 16:13:12 Predmet ::Re: Help with .COM for pmddos
Unfortunately, the original PMD 85 does not have video sync, as you it know from the ZX Spectrum.
But Emulator PMD 85 experimentally allows to switch on interrupt from VideoCPU.
In Emulátor itself it is need to check "Interrupt from Video CPU" checkbox on the Settings-Tab "Screen / Display".
Remember that you have to prepare the interrupt routine at address 0038h.
As I mentioned, it is experimental feature and HW solution is only under construction.
Správa
Autor ::g0blinish Poslaná :: 28.03.2015 17:31:30 Predmet ::Re: Help with .COM for pmddos
So, unterrupt occurs every frame?
Správa
Autor ::Roman Bórik Poslaná :: 28.03.2015 17:58:33 Predmet ::Re: Help with .COM for pmddos
Yes, interrupt occurs every frame, at the time of the blanking pulse, what is every 20 ms.
Správa
Autor ::g0blinish Poslaná :: 29.03.2015 06:02:22 Predmet ::Re: Help with .COM for pmddos
seems interrupt occurs once time.
Správa
Autor ::Roman Bórik Poslaná :: 29.03.2015 09:43:45 Predmet ::Re: Help with .COM for pmddos
It's not true.
Try this: http://pmd85.borik.net/_work/test-int.ptp
Start it JUMP 0100, then key Shift displays time counter.
But you must use monit2B.rom for PMD 85-2 or PMD 85-2A.
Správa
Autor ::g0blinish Poslaná :: 29.03.2015 10:53:18 Predmet ::Re: Help with .COM for pmddos
yes, right! ;)
I forgot about EI at interrupt handler(((((
And last question:
Where to read about values of beeper port $F6?
And how values for keyboard scan defined? Seems like row at keyboard must be defined.
Správa
Autor ::Roman Bórik Poslaná :: 29.03.2015 11:19:18 Predmet ::Re: Help with .COM for pmddos