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.
QL USER type-in programs
Re: QL USER type-in programs
- Attachments
-
- Pentathlete.zip
- (12.42 KiB) Downloaded 145 times
-
- Pentathlete_mdv.zip
- (18.59 KiB) Downloaded 133 times
Last edited by Andrew on Mon Oct 19, 2020 4:15 pm, edited 1 time in total.
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?
How can one create such nice graphics for the QL, please tell us your secret 
I was about to do this,
Tom
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

I was about to do this,
Code: Select all
$ truncate -s32768 title_scr
Re: QL USER type-in programs
Oh, sorry - I forgot to strip the 30 bytes file header that QEmulator uses.tcat wrote:Hi,
Nice prog and initial screen, I noticed `title_scr' is some 32798 bytes in length.
Is this on purpose?
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.
Re: QL USER type-in programs
Perfect, can I do similar trick with GIMP, can you please help with defining QL palette?
Re: QL USER type-in programs
QL Palletestcat wrote:Perfect, can I do similar trick with GIMP, can you please help with defining QL palette?
- Attachments
-
- QLPalettes.zip
- (248 Bytes) Downloaded 147 times
Re: QL USER type-in programs
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.
--
All things QL - https://dilwyn.theqlforum.com
All things QL - https://dilwyn.theqlforum.com
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
Just rediscovered this git repo with palettes for GIMP and PhotoShop.
https://github.com/SinclairQL/Sinclair- ... c-palettes