Search found 558 matches

by tcat
Wed Jul 10, 2019 11:45 am
Forum: Software & Programming
Topic: Need help to understand some code, random number within a range of.
Replies: 9
Views: 959

Re: Need help to understand some code, random number within a range of.

Hi, Nice. `ACT' defines its own language, I can only admire. Slightly off topic. Is it possible to generate randoms just using integer maths only? Thinking further.. I wonder what it takes, to make a simple adventure game engine, nothing to compare with ACT, just a proof of concept sort of thing. Be...
by tcat
Tue Jul 09, 2019 4:58 pm
Forum: Software & Programming
Topic: SCREEN1 = SYSVAR @ JSROM
Replies: 83
Views: 9126

Re: SCREEN1 = SYSVAR @ JSROM

Hi, I have consolidated my coding, so I now have this, leaving filled CIRCF, ELIPF, in favour of common FILL. It is not much, but can possibly become a basis of something more interesting. Still cannot rotate ellipse nor do arcs. I can observe that circles in MODE 8 become ellipses, right? ; Simple ...
by tcat
Tue Jul 02, 2019 4:25 pm
Forum: Hardware
Topic: Microdrives- has anyone managed to replace the tape ?
Replies: 15
Views: 5226

Re: Microdrives- has anyone managed to replace the tape ?

Hi Per, Good idea. I was also thinking to put as many razors 1,9mm appart, as fit across VHS tape width, but then it would reuquire a lot more force to pull tape through the blades. Also, it may need a very good tape guiding from either side. Possibly, the vice can be mounted by screws right on the ...
by tcat
Tue Jul 02, 2019 1:45 pm
Forum: Hardware
Topic: Microdrives- has anyone managed to replace the tape ?
Replies: 15
Views: 5226

Re: Microdrives- has anyone managed to replace the tape ?

Hi Brane, I had a simple scheme in mind: - cut the original loop at head position. - glue new tape to the end that comes from the outer end of the tape ring in the cartridge. - pull the other end and let the glued end suck-in my new tape - keep pulling until I pull all original tape out - recut both...
by tcat
Tue Jul 02, 2019 9:45 am
Forum: Software & Programming
Topic: SCREEN1 = SYSVAR @ JSROM
Replies: 83
Views: 9126

Re: SCREEN1 = SYSVAR @ JSROM

Hi Steve, I dropped the quest after developing vector fonts of ANY size Marvellous work, perhaps quite ahead of its time. I was also thinking of vector fonts vs raster, as I toy with ZX font set on the QL. I remember hair vectors on early X workstations, no fills, only straight lines and arcs (possi...
by tcat
Mon Jul 01, 2019 9:01 am
Forum: Software & Programming
Topic: SCREEN1 = SYSVAR @ JSROM
Replies: 83
Views: 9126

Re: SCREEN1 = SYSVAR @ JSROM

Hi, @Tomas: How about translating this into assembler? Reading this, my confidence is getting higher, thank you. I like your algo of `scan-flood' combined fill, using best of the both. In fact, I am struggling with MODE 8 for BLOCK at the moment, as it is 4 pixels per word, I use MOD 4 to get lead a...
by tcat
Sat Jun 29, 2019 6:04 pm
Forum: Software & Programming
Topic: SCREEN1 = SYSVAR @ JSROM
Replies: 83
Views: 9126

Re: SCREEN1 = SYSVAR @ JSROM

Hi Per, Sadly, it doesnt do very well, as it eats up stack space Yes, that is the drawback of flood filling, for larger areas it can soon exhaust stack space, the experience you have. Although it goes by 4 pixels at a time, is not very fast. One advantage, it can fill any shape. As oposed to scan li...
by tcat
Fri Jun 28, 2019 9:54 am
Forum: Software & Programming
Topic: SCREEN1 = SYSVAR @ JSROM
Replies: 83
Views: 9126

Re: SCREEN1 = SYSVAR @ JSROM

Hi, EDIT My attempt with scan filled poly, closely follows the above `pseudo code'. I use copy of display control, to toggle bit0 to mark fill 0/1 (on-off) state. dctl dc.b %00000000 ;Display control copy ;bit7=$20000/$28000 ;bit3=mode4/8 ;bit1=blank ;bit0=fill0/1 poly.png Tomas
by tcat
Thu Jun 27, 2019 7:08 pm
Forum: Software & Programming
Topic: Knoware.no
Replies: 16
Views: 2002

Re: Knoware.no

Hi,

Perfect, I like `Last Match' game. It reminds a film hero in `Last Year at Marienbad', who was playing some tricks on a lady, always winning this sort of game.
If I am right, there is some binary logic strategy, when applied the player cannot lose.
Would it it run on a black box QL?

Tomas
by tcat
Thu Jun 27, 2019 7:07 pm
Forum: Software & Programming
Topic: Knoware.no
Replies: 16
Views: 2002

Re: Knoware.no

Hi,

Perfect, I like `Last Match' game. It reminds a film hero in `Last Year at Marienbad', who was playing some tricks on a lady, always winning this sort of game.
If I am right, there is some binary logic strategy, when applied the player always wins.

Tomas