Forum

From PMD 85 Infoserver

Jump to: navigation, search
:: back to start of topic :: back to topic list ::
Message
Author  Author ::  g0blinish
Posted  Posted ::  2015-03-28 03:28:24 PM
Subject  Subject ::  Re: Help with .COM for pmddos
How to sync video output?

EI, HLT doesn't work(
 
Message
Author  Author ::  Roman Bórik
Posted  Posted ::  2015-03-28 04:13:12 PM
Subject  Subject ::  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.
 
Message
Author  Author ::  g0blinish
Posted  Posted ::  2015-03-28 05:31:30 PM
Subject  Subject ::  Re: Help with .COM for pmddos
So, unterrupt occurs every frame?
 
Message
Author  Author ::  Roman Bórik
Posted  Posted ::  2015-03-28 05:58:33 PM
Subject  Subject ::  Re: Help with .COM for pmddos
Yes, interrupt occurs every frame, at the time of the blanking pulse, what is every 20 ms.
 
Message
Author  Author ::  g0blinish
Posted  Posted ::  2015-03-29 06:02:22 AM
Subject  Subject ::  Re: Help with .COM for pmddos
seems interrupt occurs once time.
 
Message
Author  Author ::  Roman Bórik
Posted  Posted ::  2015-03-29 09:43:45 AM
Subject  Subject ::  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.
 
Message
Author  Author ::  g0blinish
Posted  Posted ::  2015-03-29 10:53:18 AM
Subject  Subject ::  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.
 
Message
Author  Author ::  Roman Bórik
Posted  Posted ::  2015-03-29 11:19:18 AM
Subject  Subject ::  Re: Help with .COM for pmddos
I believe, that all informations are here.
 
Message
Author  Author ::  g0blinish
Posted  Posted ::  2015-03-29 11:46:41 AM
Subject  Subject ::  Re: Help with .COM for pmddos
Thank you. seems i lost in the wiki?
 
Message
Author  Author ::  Roman Bórik
Posted  Posted ::  2015-03-29 11:50:20 AM
Subject  Subject ::  Re: Help with .COM for pmddos
I don't know. :-) Perhaps you only lost in translation... ;-)
 
Message
Author  Author ::  g0blinish
Posted  Posted ::  2015-03-29 12:08:01 PM
Subject  Subject ::  Re: Help with .COM for pmddos
yes, right xD
:: back to start of topic :: back to topic list ::