Search found 39 matches

by grafvonb
Thu Apr 30, 2020 5:50 pm
Forum: Hardware
Topic: QL-SD does not allow to use vDrive in parallel
Replies: 9
Views: 520

Re: QL-SD does not allow to use vDrive in parallel

This is strange, since normal microdrives work. Did you check your bootfile? Does your normal microdrive respond? Does vDrive work if you abort the QL-SD ROM initialisation sequence by a key press? Hm, I'm new to QL, so if you ask "check your bootfile" I have no clue how to do this :roll:...
by grafvonb
Wed Apr 22, 2020 1:20 pm
Forum: Hardware
Topic: QL-SD does not allow to use vDrive in parallel
Replies: 9
Views: 520

Re: QL-SD does not allow to use vDrive in parallel

If you want to stick with the old driver, look if you have SDC_USE "MDV" somewhere in your Bootfile and remove it. Or try SDC_USE "WIN". I tried to use SDC_USE "WIN". It causes QL-SD not to respond to "MDV" but the vDrive cannot be reached (in a normal way by...
by grafvonb
Tue Apr 21, 2020 2:56 pm
Forum: Hardware
Topic: QL-SD does not allow to use vDrive in parallel
Replies: 9
Views: 520

Re: QL-SD does not allow to use vDrive in parallel

Do you mean this driver "QL-SD card driver v0.07.078"?

If so, how can I update it? I've looked for some resources without success...
by grafvonb
Sun Apr 19, 2020 1:12 pm
Forum: Hardware
Topic: QL-SD does not allow to use vDrive in parallel
Replies: 9
Views: 520

QL-SD does not allow to use vDrive in parallel

Have you ever tried to use both QL-SD and vDrive devices in parallel? In my case after QL-SD driver is loaded I cannot reach the vDrive because for all calls to "mdv*_" the response is delivered by the QL-SD. Can I change this behavior? Tested with EN Minerva 1.98, Miracle memory card, QL-...
by grafvonb
Fri Feb 14, 2020 7:44 pm
Forum: Software & Programming
Topic: Proper coding for Vsync or similar functionality
Replies: 12
Views: 724

Re: Proper coding for Vsync or similar functionality

Hi guys, many thanks, my code with interrupts off and correct vsync (and after "no beer" review :lol:) works as expected!
by grafvonb
Thu Feb 13, 2020 10:33 pm
Forum: Software & Programming
Topic: Proper coding for Vsync or similar functionality
Replies: 12
Views: 724

Re: Proper coding for Vsync or similar functionality

Thanks, I have found this great side too. Surprisingly the following code:

Code: Select all

        trap    #0
        ori     #%0000011100000000,sr

helped to run the code above smoothly using Qemulator, however my problem with the real QL remains as it was (the sync does not work).
by grafvonb
Thu Feb 13, 2020 9:54 pm
Forum: Software & Programming
Topic: Proper coding for Vsync or similar functionality
Replies: 12
Views: 724

Re: Proper coding for Vsync or similar functionality

Entering super mode with trap #0, as I understand. But I cannot find a code snippet to switch off interrupts. Can you help me?
by grafvonb
Thu Feb 13, 2020 9:17 pm
Forum: Software & Programming
Topic: Proper coding for Vsync or similar functionality
Replies: 12
Views: 724

Re: Proper coding for Vsync or similar functionality

To get a 100% stable sync with the display, you need to enter supervisor mode and switch off interrupts - otherwise, the toggling of the timer interrupt bit in the interrupt register will cause QDOS to enter the scheduler before it even runs the loop, with all sorts of things happening that could o...
by grafvonb
Thu Feb 13, 2020 9:12 pm
Forum: Software & Programming
Topic: Proper coding for Vsync or similar functionality
Replies: 12
Views: 724

Re: Proper coding for Vsync or similar functionality

Hi Tobias, many thanks for your fast and great response! However my problem still remains. In Qemulator my code works, using a real QL the sync does not (it flickers as it would be without the sync). Here my code example: SCREEN equ $20000 PC_INTR equ $18021 repeat lea sinus,a5 lea SCREEN,a6 loop mo...
by grafvonb
Thu Feb 13, 2020 8:27 pm
Forum: Software & Programming
Topic: Proper coding for Vsync or similar functionality
Replies: 12
Views: 724

Proper coding for Vsync or similar functionality

For my small assembler demo "bouncing lines" I need a Vsync or similar functionality to slow down the loop and get stable redraw of the screen. I tried the described solution brought by https://www.chibiakumas.com/68000/sinclairql.php: waitVBlank move.b #%11111111,$18021 ;Clear interrupt b...