Search found 1964 matches

by tofro
Thu Jul 30, 2020 1:02 pm
Forum: General QL Chat
Topic: What makes the OS for QL any better, different, unique ?
Replies: 80
Views: 8257

Re: What makes the OS for QL any better, different, unique ?

Well - No. Preemptive can't quite be expressed in C pseudo code - You need to model the timer tick, possibly like so: REM Operating system here EVERY (50ms) IF TaskSwitchNeeded() THEN TaskSwitch(); END EVERY REM User Task here REPEAT UserTask DoUserTaskStuff(); END REPEAT Cooperative looks a bit lik...
by tofro
Tue Jul 28, 2020 1:59 pm
Forum: Software & Programming
Topic: Are there directory devices with a name longer than 3 letters
Replies: 14
Views: 435

Re: Are there directory devices with a name longer than 3 letters

All versions of the QubIDE driver seem to do this. Interesting, thanks! The "open" code of QubIDE's BOOT device will then walk the list of device drivers and count the number of "mdv" occurences - If there's more than one, it detects "there must already be a floppy device d...
by tofro
Tue Jul 28, 2020 1:28 pm
Forum: Software & Programming
Topic: Newbie: Where to start to learn QL assembly language?
Replies: 10
Views: 353

Re: Newbie: Where to start to learn QL assembly language?

I wouldn't waste time on old hat architectures that you have trouble buying you would be better off learning the RPi ... That sentence probably entitles you to a lifetime ban from this forum ;) Seriously: ARM assembly is definitely not something you want to learn. Even if difficult, 68k assembly is...
by tofro
Tue Jul 28, 2020 9:25 am
Forum: Software & Programming
Topic: Are there directory devices with a name longer than 3 letters
Replies: 14
Views: 435

Re: Are there directory devices with a name longer than 3 letters

Due to the missing number (and filename!) it must be a stream device ;) But do you actually know anybody implementing the BOOT device? All auto-boot implementations I know temporarily rename their device to MDV for auto-booting. Makes things interesting when two devices do this :( I considered impl...
by tofro
Mon Jul 27, 2020 6:47 pm
Forum: Software & Programming
Topic: Are there directory devices with a name longer than 3 letters
Replies: 14
Views: 435

Re: Are there directory devices with a name longer than 3 letters

Directory devices in QDOS can have up to four characters in length (then, obviously, you cannot use a unit number anymore). The most prominent that actually uses all four characters (and the only ony I know) is "BOOT", which is booted from even before "mdv", thus used for boot ov...
by tofro
Mon Jul 27, 2020 5:29 pm
Forum: Software & Programming
Topic: Newbie: Where to start to learn QL assembly language?
Replies: 10
Views: 353

Re: Newbie: Where to start to learn QL assembly language?

You will definitely want to start here . And then continue there And you definitely want to look in Norm's excellent write-ups on QL Assembler. Next you want a book on QDOS System calls - The official one is the " QL Technical Guide " And next you definitely want an editor/assembler/linker...
by tofro
Sat Jul 25, 2020 10:28 pm
Forum: General QL Chat
Topic: What makes the OS for QL any better, different, unique ?
Replies: 80
Views: 8257

Re: What makes the OS for QL any better, different, unique ?

Linus called it cooperative since a process could take full control if it wanted (either by explicitly disabling the scheduler or by forgetting to release memory which the kernel didn't keep track off), and because the kernel ran in user mode. Of course Linus didn't like any OS's of the day (I thin...
by tofro
Fri Jul 24, 2020 8:43 pm
Forum: QL Emulation
Topic: How to enlarge the Emacs editor window under uQLx emulator
Replies: 9
Views: 572

Re: How to enlarge the Emacs editor window under uQLx emulator

PE programs normally open with a default window size that fits on any screen. In order to resize this window, do the following: ⋅ Move the mouse pointer to the top-right button (the resize button) of the window, (mouse or cursor keys) ⋅ press left mouse button (or SPACE) ⋅&n...
by tofro
Wed Jul 22, 2020 9:17 pm
Forum: General QL Chat
Topic: The curious case of the SuperBASIC speed difference.
Replies: 3
Views: 231

Re: The curious case of the SuperBASIC speed difference.

stephen_usher wrote:Ah, I didn't realise that above 128K it was uncontended, I thought that it was all compromised by video access.


Nope, and this is why really well-designed memory extensions can speed up a QL significantly.
by tofro
Wed Jul 22, 2020 7:49 pm
Forum: General QL Chat
Topic: The curious case of the SuperBASIC speed difference.
Replies: 3
Views: 231

Re: The curious case of the SuperBASIC speed difference.

I made a bit of a personal discovery last night whilst just writing a test program when mucking about with the B&W telly. The same QL with a Trump Card is faster. On the unexpanded QL (JS ROM) this takes either 3m 15s or 3m 17s (nothing in between and it seems random which one you get) but with...