QL USER type-in programs

Anything QL Software or Programming Related.
User avatar
Andrew
Aurora
Posts: 793
Joined: Tue Jul 17, 2018 9:10 pm

Re: QL USER type-in programs

Post by Andrew »

Pentahlete - by A Didcock

I fixed the bug in javelin event and added a title screen.
The published program had a LBYTES mdv1_title line, but of course the screen was missing from the magazine. So I just draw one.
Attachments
Pentathlete.zip
(12.42 KiB) Downloaded 91 times
Pentathlete_mdv.zip
(18.59 KiB) Downloaded 98 times
Last edited by Andrew on Mon Oct 19, 2020 4:15 pm, edited 1 time in total.


tcat
Super Gold Card
Posts: 633
Joined: Fri Jan 18, 2013 5:27 pm
Location: Prague, Czech Republic

Re: QL USER type-in programs

Post by tcat »

Hi,

Nice prog and initial screen, I noticed `title_scr' is some 32798 bytes in length.
Is this on purpose?

Code: Select all

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 one create such nice graphics for the QL, please tell us your secret :)

I was about to do this,

Code: Select all

$ truncate -s32768 title_scr
Tom


User avatar
Andrew
Aurora
Posts: 793
Joined: Tue Jul 17, 2018 9:10 pm

Re: QL USER type-in programs

Post by Andrew »

tcat wrote:Hi,

Nice prog and initial screen, I noticed `title_scr' is some 32798 bytes in length.
Is this on purpose?
Oh, sorry - I forgot to strip the 30 bytes file header that QEmulator uses.
I have fixed it and reloaded the zip file in my previous post.

Making QL Graphics - I just use Photoshop. For this screen I used the "quick and dirty" way: found some clipart on the internet, collated it in Photoshop, changed the image mode to Index Color using the QL Pallete and saved the file as .raw
Then I loaded the raw file in a short QL Program to convert it to pixels.
If anybody is interested I will post the palette and the ql program .
For more complex images you also need to take into account the aspect ratio of the QL screen and scale the photoshop image accordingly, otherwise the image will be much taller than the one you see on PC. Especially in mode 4.


tcat
Super Gold Card
Posts: 633
Joined: Fri Jan 18, 2013 5:27 pm
Location: Prague, Czech Republic

Re: QL USER type-in programs

Post by tcat »

Perfect, can I do similar trick with GIMP, can you please help with defining QL palette?


User avatar
Andrew
Aurora
Posts: 793
Joined: Tue Jul 17, 2018 9:10 pm

Re: QL USER type-in programs

Post by Andrew »

tcat wrote:Perfect, can I do similar trick with GIMP, can you please help with defining QL palette?
QL Palletes
Attachments
QLPalettes.zip
(248 Bytes) Downloaded 94 times


User avatar
dilwyn
Mr QL
Posts: 2760
Joined: Wed Dec 01, 2010 10:39 pm

Re: QL USER type-in programs

Post by dilwyn »

In case it helps with the type-ins, here's a, err, list of listings from QL World, as a PDF file. On my hard disk from 2014 as a spreadsheet, not sure who compiled it! Not just the type-in programs, includes listings from other articles.
QL World listings.pdf


tcat
Super Gold Card
Posts: 633
Joined: Fri Jan 18, 2013 5:27 pm
Location: Prague, Czech Republic

Re: QL USER type-in programs

Post by tcat »

Hi,

Just rediscovered this git repo with palettes for GIMP and PhotoShop.
https://github.com/SinclairQL/Sinclair- ... c-palettes


Post Reply