Search found 520 matches

by tcat
Sun Jun 16, 2019 6:05 pm
Forum: Software & Programming
Topic: SCREEN1 = SYSVAR @ JSROM
Replies: 43
Views: 1888

Re: SCREEN1 = SYSVAR @ JSROM

Hi,

Most interesting. While I have looked up some titles made in `Quill', I was not able to do so for `ACT'?

Comparing some ZX game graphics to QL mode 8 pictures, ZX seems to me as more catchy. Cannot give exact reasoning, perhaps is a matter of personal opinion?

Tomas
by tcat
Sun Jun 16, 2019 8:09 am
Forum: Software & Programming
Topic: SCREEN1 = SYSVAR @ JSROM
Replies: 43
Views: 1888

Re: SCREEN1 = SYSVAR @ JSROM

Hi, I have now a testing BLOCK that goes by words, much faster, compared to a simple version going by pixels. Is there a way in machine code, to combine MODE 8, say in upper screen, and MODE 4, in lower part? I wish to mix some graphics in 8 colours, with text on 8x8 raster 4 colours? Many thanks To...
by tcat
Wed Jun 12, 2019 1:37 pm
Forum: Software & Programming
Topic: SCREEN1 = SYSVAR @ JSROM
Replies: 43
Views: 1888

Re: SCREEN1 = SYSVAR @ JSROM

Hi, Borrowing from the `C' prog, I try to compute, left, right words, instead of plotting leading and trailing dots. Making middle word is easier. I work along this loop. Not perfect so far, not optimal either. .... movea.l a0,a1 ;screen address x,y move.w bl_lm(a4),d3 ;d3=left mask move.w bl_mm(a4)...
by tcat
Mon Jun 10, 2019 3:06 pm
Forum: Software & Programming
Topic: SCREEN1 = SYSVAR @ JSROM
Replies: 43
Views: 1888

Re: SCREEN1 = SYSVAR @ JSROM

Hi Tobias,
Thank you for the algo and the idea of faster block fill. Will try to recode into assembly, and share back.
Meanwhile I tidied up simple slow code just for clarity.
Working on the fast variant now.
Tomas
by tcat
Mon Jun 10, 2019 1:29 pm
Forum: Software & Programming
Topic: SCREEN1 = SYSVAR @ JSROM
Replies: 43
Views: 1888

Re: SCREEN1 = SYSVAR @ JSROM

Hi, I have coded this, ellipse being the longest procedure so far. ; PLOT - CALL [start],[x],[y],[col] ; MODE - CALL [start+2],[mode] ; BLOCK - CALL [start+4],[x],[y],[col],[w],[h] ; LINE - CALL [start+8],[x],[y],[col],[x0],[y0] ; CIRC - CALL [start+12],[x],[y],[col],[r] ; CIRCF - CALL [start+16],[x...
by tcat
Sun Jun 09, 2019 11:55 am
Forum: Software & Programming
Topic: Warlock of Firetop Mountain
Replies: 21
Views: 786

Re: Warlock of Firetop Mountain

by tcat
Mon Jun 03, 2019 1:17 pm
Forum: Software & Programming
Topic: SCREEN1 = SYSVAR @ JSROM
Replies: 43
Views: 1888

Re: SCREEN1 = SYSVAR @ JSROM

Hi Tobias, Thank you, feeling overwhelmed by outlined QL logic, how complex it is, and what it all does behind scenes. I will follow simple path, that is a simple fixed font no scaling. That means, defining a raster say 8x8 (or bigger?). I can already visualise a lot of `dc.b %xxxxxxxx' statements i...
by tcat
Mon Jun 03, 2019 10:44 am
Forum: Software & Programming
Topic: SCREEN1 = SYSVAR @ JSROM
Replies: 43
Views: 1888

Re: SCREEN1 = SYSVAR @ JSROM

Hi, I wish to code character printing routine. An uneasy task so it seems. I believe it should take an ascii code of the character to be printed, x y origin, colour, and a pointer to font structure. How do we define QL fonts? Are they fixed width, or variable, so each char defines its width? Many th...
by tcat
Sun Jun 02, 2019 4:37 pm
Forum: Software & Programming
Topic: Link ASM and C code
Replies: 5
Views: 416

Re: Link ASM and C code

Gents, Thanks. I seem getting a lot of advice. Honestly I have not tried linking various `_rel' object files. An intersting exercise I wish to do anyway. `C' runtime and some std lib may seem an overhead for a small project such as this one of mine. I was also thinking to link various `_bin', or `_r...
by tcat
Sun Jun 02, 2019 4:07 pm
Forum: Software & Programming
Topic: SCREEN1 = SYSVAR @ JSROM
Replies: 43
Views: 1888

Re: SCREEN1 = SYSVAR @ JSROM

Hi Norm, Thank you, this explains that nicely. 2-bit colour, 8 pixels per screen word, mode 4 = 512 pixels on line GR (no B) 7654321076543210 GGGGGGGGRRRRRRRR 3-bit colour, 4 pixels per screen word, mode 8 = 256 pixels on line GRB + Flash 7654321076543210 GFGFGFGFRBRBRBRB So I have 2 or 3 bits maxim...