Forum Announcement
QL Forum Birthday Bash (21st November 2020) - https://qlforum.co.uk/viewtopic.php?f=12&t=3489

Search found 623 matches

by tcat
Mon Oct 19, 2020 8:11 pm
Forum: Software & Programming
Topic: QL USER type-in programs
Replies: 36
Views: 1982

Re: QL USER type-in programs

Hi,

Just rediscovered this git repo with palettes for GIMP and PhotoShop.
https://github.com/SinclairQL/Sinclair- ... c-palettes
by tcat
Mon Oct 19, 2020 4:25 pm
Forum: Software & Programming
Topic: QL USER type-in programs
Replies: 36
Views: 1982

Re: QL USER type-in programs

Perfect, can I do similar trick with GIMP, can you please help with defining QL palette?
by tcat
Mon Oct 19, 2020 3:45 pm
Forum: Software & Programming
Topic: QL USER type-in programs
Replies: 36
Views: 1982

Re: QL USER type-in programs

Hi, Nice prog and initial screen, I noticed `title_scr' is some 32798 bytes in length. Is this on purpose? Archive: Pentathlete.zip Length Date Time Name --------- ---------- ----- ---- 25077 2020-10-19 13:14 Pentathlete_bas 32798 2020-10-19 13:10 title_scr --------- ------- 57875 2 files How can on...
by tcat
Wed Oct 07, 2020 7:54 pm
Forum: The Off-Topic Section
Topic: C64 PSU
Replies: 1
Views: 619

C64 PSU

Hi, Seeking advice re original PSU. l do not quite understand, why the old regulator could let through AC peak potentially causing a damage inside C64, as they say on the net. I therefore thought of replacing 5V voltage regulator. As it is potted inside with epoxy, I would disconnect old one from PC...
by tcat
Thu Aug 20, 2020 7:42 am
Forum: General QL Chat
Topic: What makes the OS for QL any better, different, unique ?
Replies: 89
Views: 11453

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

Hi, Yes, the language of the 80's. The whole Mac ROM is coded in Pascal [1MB roms, older 512K], some portions in Assembly. Mac resources, are mapped to memory, can be moved around in memory, or purged out. They contain executables or just data, all relative address code. This resembles QL unique con...
by tcat
Wed Aug 19, 2020 10:45 am
Forum: General QL Chat
Topic: What makes the OS for QL any better, different, unique ?
Replies: 89
Views: 11453

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

Hi bwinkel, I threw out some initialization commands but the cooperative entry point is GetNextEvent Just to complement your nice example of `Globe' spinning in cooperative environment [video posted earlier]. I coded simple app tracking most if not all `System7' events. Sharing code and binary here ...
by tcat
Mon Aug 03, 2020 8:25 am
Forum: General QL Chat
Topic: What makes the OS for QL any better, different, unique ?
Replies: 89
Views: 11453

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

Hi Ben, Nice video, seeing `Think C' on Mac, remember also using MPW (E.T.O.), that had unix like shell environment, perhaps `Apple-Dot' comes from there, it sill lingers in mem. Re QL, how do you make those blobs, that appear to have some shading perspective, as if the light came from an angle? Res...
by tcat
Fri Jul 31, 2020 10:59 am
Forum: General QL Chat
Topic: What makes the OS for QL any better, different, unique ?
Replies: 89
Views: 11453

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

Hi Ben,

Nice event loop example, I vaguely remember programmers were also guided to add

Code: Select all

  switch () ...
    default: Idle()
   }

whenever appropriate, to do some app housekeeping, while it is idle, which is most of the time.
Yes, while(1) or until(0)
by tcat
Thu Jul 30, 2020 1:27 pm
Forum: General QL Chat
Topic: What makes the OS for QL any better, different, unique ?
Replies: 89
Views: 11453

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

QDOS is a bit of a mix between the two Taking best of the two, or a compromise? On RPI Linux, not knowing much about scheduler runtime, I coded simple NET [nRF24L01] server while ( true ) receiveheader() case ( type ) SND: send() RCV: receive() default: waitms( 10 ) end case end while Without some ...
by tcat
Thu Jul 30, 2020 10:59 am
Forum: General QL Chat
Topic: What makes the OS for QL any better, different, unique ?
Replies: 89
Views: 11453

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

just my experience, cooperative vs preemptive cooperative while (true) /*event - inner loops*/ idle: SystemTask(); // cycles back end while preemptive while (true) /*event - inner loops*/ idle: Waitms(10); // some ms wait end while Cycles back to the system vs wait in order of millis [not to steal t...