Search found 1320 matches
- Sat Mar 30, 2024 6:26 pm
- Forum: Software & Programming
- Topic: Run a SuperBasic program from Assembler?
- Replies: 36
- Views: 2894
Re: Run a SuperBasic program from Assembler?
<>I can see what you mean about the missing byte to force the next line onto a word boundary, so have done that to be safe But the GST QMAC manual I have seems to say it automatically adjusts and puts DC.W/DC.L onto word boundaries, which is why I assume my code worked as is? (or it was pure luck) ...
- Sat Mar 30, 2024 5:37 pm
- Forum: Software & Programming
- Topic: Run a SuperBasic program from Assembler?
- Replies: 36
- Views: 2894
Re: Run a SuperBasic program from Assembler?
Just a heads up: A bad typo at define dc.w 1 dc.w MENU-* dc.b 4,'MENU' .. It should be something like define dc.w 1 dc.w MENU-* dc.b 4,'MENU',0 .. to make the line even. I was altogether intrigued by the exercise so here's my take: ; TITLE Show Menu section code INCLUDE 'win6_a_qmac_qdos1_in' INCLUD...
- Fri Mar 29, 2024 1:03 pm
- Forum: Software & Programming
- Topic: Q-Liberator 3.46
- Replies: 29
- Views: 5943
Re: Q-Liberator 3.46
Great look! Thanks for the tip
- Fri Mar 29, 2024 12:56 pm
- Forum: Software & Programming
- Topic: Run a SuperBasic program from Assembler?
- Replies: 36
- Views: 2894
Re: Run a SuperBasic program from Assembler?
Turbo Tookit's TYPE_IN, COMMAND_LINE, END_CMD do just that. You could try disassembling them to see how its done. Job#0's channel #0 always has the channel ID $00000000 (unless someone's really messed around!) so no need hunting through S*BASIC's channels tables etc. The main difficulty may be to en...
- Tue Mar 26, 2024 10:50 am
- Forum: Software & Programming
- Topic: Q-Liberator 3.46
- Replies: 29
- Views: 5943
Re: Q-Liberator 3.46
Andrew, Under the assumption that SuperBASIC moved at some point during the running of the boot program, for reasons unknown, I thought pre-empting it before obtaining a6 might do the trick. And it appears to have worked. Basically: .. IF version$ = 'JSL1' THEN REMark Minerva DIM t$(9000): DIM t$(0)...
- Mon Mar 25, 2024 5:27 pm
- Forum: Software & Programming
- Topic: Q-Liberator 3.46
- Replies: 29
- Views: 5943
Re: Q-Liberator 3.46
<> At first run I always get the message "TK2 is required to run QLib!!! Press <ESC> to stop loading". I press Space or Enter, and everything loads and works correctly. Tk2 is loaded. using TK2_EXT command before running your boot file makes no difference. QEmulator is using Minerva198 (m...
- Mon Mar 25, 2024 5:06 pm
- Forum: Software & Programming
- Topic: Q-Liberator 3.46
- Replies: 29
- Views: 5943
Re: Q-Liberator 3.46
Hi, I do not need to test for Toolkit 2, as I know what is installed on the machine. Well, the package wasnt only designed for you.. Surely, for compatibility, the presence of Toolkit 2 can be ignored. TK2 is needed to run the compiler these days. It wasnt my choice, although I agree with it. As fa...
- Mon Mar 25, 2024 2:52 pm
- Forum: Software & Programming
- Topic: Q-Liberator 3.46
- Replies: 29
- Views: 5943
Re: Q-Liberator 3.46
<> Under Qdos+Minerva at first run FindKey("TK2_EXT") always returns 0, even if TK2 is loaded and started. Subsequent calls to FindKey("TK2_EXT") return 1 Under SMSQE FindKey returns 1 from the first run Im not sure about your preconditions. Did you get the systems variables poi...
- Mon Mar 25, 2024 2:42 pm
- Forum: Software & Programming
- Topic: Q-Liberator 3.46
- Replies: 29
- Views: 5943
- Mon Mar 25, 2024 2:08 pm
- Forum: Software & Programming
- Topic: Q-Liberator 3.46
- Replies: 29
- Views: 5943
Re: Q-Liberator 3.46
When I lrun flp1_boot on Q-emuLator, with nothing else loaded, it crashes out (see image) But if I boot Q-emuLator with the img already in the flp1 device slot it loads fine Is there any obvious reason for this please? Many thanks Screenshot 2024-03-25 at 10.05.13.png No, its incredibly unobvious! ...