Search found 224 matches

by M68008
Tue May 18, 2021 8:13 am
Forum: Software & Programming
Topic: Joystick and keyboard input
Replies: 12
Views: 2841

Re: Joystick and keyboard input

execute code from rom again. Perhaps Im stepping on limbs here, but are there disassembled ROM listings floating around somewhere? A quick google brings me down to http://www.dilwyn.me.uk/qlrom/index.html but the first notated ROM dumps I downloaded didnt contain the actual asm listings :(. Alterna...
by M68008
Tue May 18, 2021 8:07 am
Forum: Software & Programming
Topic: I love QDOS, but...
Replies: 7
Views: 1768

Re: I love QDOS, but...

I think Sinclair never completed wiring up the write protection switch, so the OS cannot tell the difference from format failed.
by M68008
Sun May 16, 2021 6:37 pm
Forum: Software & Programming
Topic: Joystick and keyboard input
Replies: 12
Views: 2841

Re: Joystick and keyboard input

You can replace the macro with

Code: Select all

    moveq   #$11,d0
    trap       #1
On Sinclair ROMs, you can call this even when interrupts and the OS are disabled. Communication with the IPC is very slow, so use sparingly.
by M68008
Sat May 15, 2021 8:06 pm
Forum: Software & Programming
Topic: QL / PASCAL
Replies: 303
Views: 77188

Re: QL / PASCAL

Perhaps thats a matter for the philosophers to ponder. Since the FPGA is not a 68k CPU it must perforce just be a simulation..? Philosophical question indeed, as "emulator" can have a variety of meanings. The FPGA doesn't implement the same transistor layout and characteristics as the ori...
by M68008
Sat May 08, 2021 12:49 am
Forum: Software & Programming
Topic: Sinclair QL (cross) development and emulation questions
Replies: 23
Views: 5451

Re: Sinclair QL (cross) development and emulation questions

The debugger is a separate component I wrote as a Windows DLL and the UI uses Win32 API calls. It didn't seem worth porting it as I don't know of anybody other than me using it. I recently registered Q-emuLator for macOS, I'm working on Free Pascal, and I'd love to have any sort of debugger in it o...
by M68008
Wed May 05, 2021 9:08 pm
Forum: Software & Programming
Topic: Sinclair QL (cross) development and emulation questions
Replies: 23
Views: 5451

Re: Sinclair QL (cross) development and emulation questions

Some newbie question; Im writing 128 bytes to screen locations in a loop, which is throttled by vsync (effectively, assumingly writing 1 row of pixels every vsync). Vsync is done as described at https://www.chibiakumas.com/68000/sinclairql.php I _assume_ that vsync occurs at 50hz, and I would thus ...
by M68008
Wed May 05, 2021 9:04 pm
Forum: Software & Programming
Topic: Sinclair QL (cross) development and emulation questions
Replies: 23
Views: 5451

Re: Sinclair QL (cross) development and emulation questions

Is there an emulator that has a debugger and/or memory/instructions viewer?e The Windows version of Q-emuLator has a built-in debugger (disclaimer: I'm the author). It's very crude, but can be useful as it's non-intrusive. This is wonderful! Thanks so much. Im curious as to why this feature did not...
by M68008
Wed May 05, 2021 8:03 pm
Forum: Software & Programming
Topic: Sinclair QL (cross) development and emulation questions
Replies: 23
Views: 5451

Re: Sinclair QL (cross) development and emulation questions

spkr wrote:Is there an emulator that has a debugger and/or memory/instructions viewer?e
The Windows version of Q-emuLator has a built-in debugger (disclaimer: I'm the author). It's very crude, but can be useful as it's non-intrusive.
by M68008
Wed May 05, 2021 7:53 pm
Forum: Hardware
Topic: Sinclair QL Storage Solutions
Replies: 15
Views: 3695

Re: Sinclair QL Storage Solutions

Thank you all for your responses, slowly it's starting to get clear to me. From the zx spectrum, I have the experience that one can select an image or tape from an overarching menu, which is then loaded directly into ram and executed. From what you guys are telling me, I'm getting the impression th...
by M68008
Fri Apr 16, 2021 6:37 am
Forum: QL Emulation
Topic: 68000 instruction test suite QL
Replies: 25
Views: 10889

Re: 68000 instruction test suite QL

M68008 wrote: Interesting. Probably need to fix the same in Q-emuLator, then.
Looks like I had already fixed NBCD in Q-emuLator for the general case, but there was still an issue when the input value was $FA.