Search found 962 matches

by Martin_Head
Wed Apr 23, 2025 5:23 pm
Forum: Hardware
Topic: Floppy drives not working
Replies: 18
Views: 445

Re: Floppy drives not working

If I remember correctly. If you put a PC floppy drive in a QL, it becomes FLP2_. You have to change the drive select on the drive, to make it work as FLP1_
by Martin_Head
Wed Apr 23, 2025 10:08 am
Forum: Hardware
Topic: Floppy drives not working
Replies: 18
Views: 445

Re: Floppy drives not working


I have an old PC with a floppy drive. I swapped out flp1 for that but it didn’t even light up. Quite a few reasons why that might not work though. But if there was a way to try one of the QL drives in the PC that might get me a bit further forward.


Does the PC floppy drive work OK in the PC? So ...
by Martin_Head
Mon Apr 21, 2025 9:22 am
Forum: Software & Programming
Topic: Q_Liberator malaise
Replies: 237
Views: 20336

Re: Q_Liberator malaise


Hi Martin



I also noticed this, look for the bit marked <<<<<<-----------
btst #$05,$04(a2,d4.w) <<<<<<-----------

It tests bit 5, I don't know why. It's too low down to be a flag like the others.
I have not investigated it any further, yet.


It's testing bit $05 of the high byte, which is ...
by Martin_Head
Sun Apr 20, 2025 9:13 am
Forum: Software & Programming
Topic: Q_Liberator malaise
Replies: 237
Views: 20336

Re: Q_Liberator malaise


Hi Martin,

Looking through the runtimes source, a couple of things come to mind.

Can I suggest changing the move to sr instructions to andi.w #$C0FF,sr , in order to keep the trace enable bits and condition code registers intact?

move.w #$0000,sr ;back to user mode


I don't like that either ...
by Martin_Head
Sun Apr 20, 2025 9:01 am
Forum: Software & Programming
Topic: Q_Liberator malaise
Replies: 237
Views: 20336

Re: Q_Liberator malaise


Martin said:
I have had another go at modifying the QLib runtimes for the Q60 problems.


Hi Martin, I have good news this time. Programs such as QCoCo, ACP, EddIcon, My screen copier, and others that do not have older runtimes incorporated seem to run correctly, smsq/e 3.42 plus copyback ...
by Martin_Head
Sat Apr 19, 2025 10:23 am
Forum: Software & Programming
Topic: My "from PACKAGE import *" (Python) simulation project
Replies: 27
Views: 1059

Re: My "from PACKAGE import *" (Python) simulation project

I'm not sure exactly what you are trying to do. But could you pull the 'ED' code from the SMSQ/E sources, and modify it to take it's input from a file instead of the keyboard.

If you have a SuperBASIC program loaded and start ED with something like ED 32000. It will start editing on the last line ...
by Martin_Head
Fri Apr 18, 2025 5:40 pm
Forum: Software & Programming
Topic: Q_Liberator malaise
Replies: 237
Views: 20336

Re: Q_Liberator malaise

I have had another go at modifying the QLib runtimes for the Q60 problems.

I don't know if I have found everything, but I have added another 7 patches.

The modifications so far are in

Routine Label
------- -----
Code 80 L0CA0 Fetching variables onto the stack
Code D2 L0CDE
Code D4 L0CEE

Code ...
by Martin_Head
Wed Apr 16, 2025 10:34 am
Forum: Software & Programming
Topic: Q_Liberator malaise
Replies: 237
Views: 20336

Re: Q_Liberator malaise


Martin,
Using the same var name as a FOR loop and reassigning it outside the loop is normal practice for me.
Also REP loop names can be assigned values and used as a normal var according to the Jan Jones book.

BSJR


There's an example of the problem on page 6.6 of the QLib manual 'FOR type ...
by Martin_Head
Wed Apr 16, 2025 10:09 am
Forum: Software & Programming
Topic: Q_Liberator malaise
Replies: 237
Views: 20336

Re: Q_Liberator malaise




I have been thinking about trying to do away with the flags, and just have float FOR loops. But I think that might be problematic...


Would it be easier to clear the upper bits of the pointer before it's used as an address?

That's what I did in the Q60test01 runtimes, similar to your ...
by Martin_Head
Tue Apr 15, 2025 10:09 am
Forum: Hardware
Topic: SOLVED !! not a happy ql , but what causes it ??
Replies: 20
Views: 853

Re: SOLVED !! not a happy ql , but what causes it ??

I had a ZX8302 that caused the QL to sit there looking dead. The reason being that the reset line goes through the ZX8302 on its way to the 68008.
And so the 68008 was stuck in reset.