Today I wrote ...

Anything QL Software or Programming Related.
Post Reply
User avatar
NormanDunbar
Forum Moderator
Posts: 2274
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Today I wrote ...

Post by NormanDunbar »

Today I wrote a small, but perfectly formed recursive assembler routine. And it worked first time! That never happens. (I suppose I won't be able to say that again!)

You''ll get to see it in the next exciting installment of the Assembly Language ePeriodical. Coming soon. (For certain values of 'soon'!)

32 degrees here right now. Centigrade that is. It's fscking hot!


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
User avatar
janbredenbeek
Super Gold Card
Posts: 632
Joined: Wed Jan 21, 2015 4:54 pm
Location: Hilversum, The Netherlands

Re: Today I wrote ...

Post by janbredenbeek »

NormanDunbar wrote:Today I wrote a small, but perfectly formed recursive assembler routine. And it worked first time! That never happens. (I suppose I won't be able to say that again!)
You''ll get to see it in the next exciting installment of the Assembly Language ePeriodical. Coming soon. (For certain values of 'soon'!)
A recursive FILL routine by any chance? I recently found one I wrote on the Spectrum in 1985 :)
32 degrees here right now. Centigrade that is. It's fscking hot!
I noted a record 38.5 here this afternoon. Some parts of the country even 40+. As I write this it's still 32. Hope to get some sleep tonight :(


User avatar
NormanDunbar
Forum Moderator
Posts: 2274
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: Today I wrote ...

Post by NormanDunbar »

Evening Jan.

No, sorry, not a recursive FILL routine. It's a mystery routine to be revealed at the end of the section of the ePeriodical.

It generates numbers in the sequence:

0,1,1,2,1,2,2,3 ...

But why? Or what? You'll have to wait and see I'm afraid. ;)

Too hot to sleep here tonight. :(

Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
retro_collector
Brittle Membrane
Posts: 107
Joined: Sun Jul 21, 2019 2:26 pm
Location: Chicago, IL USA

Re: Today I wrote ...

Post by retro_collector »

Norman,

What assembly language tools do you use?

Cbeers

Bill


User avatar
NormanDunbar
Forum Moderator
Posts: 2274
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: Today I wrote ...

Post by NormanDunbar »

Hi Bill,

For editing, I'm using Jan's QED editor, version 2.0.2 from https://github.com/SinclairQL/QED/releases/tag/v2.02.

To assemble, I use QMAC, very occasionally. Mainly I use George's (Gwilt) GWASS or GWASL from http://gwiltprogs.info/page2.htm. The latter is for 68008 only (Original QL) while the former needs a 68020 cpu - QXL Emulator etc.

The eBook you have started life in the pages of QL Today magazine and George kindly offered his assembler GWASL to be used in the series, and while I had been a QMAC user until then, I used it so often, I stuck with it. It's excellent.


HTH

Cheers,
Norm.


Why do they put lightning conductors on churches?
Author of Arduino Software Internals
Author of Arduino Interrupts

No longer on Twitter, find me on https://mastodon.scot/@NormanDunbar.
retro_collector
Brittle Membrane
Posts: 107
Joined: Sun Jul 21, 2019 2:26 pm
Location: Chicago, IL USA

Re: Today I wrote ...

Post by retro_collector »

Hi Norm,

Thanks for letting me what tools you use!

LOL Yes I have been reading all the back issues of QL user and I am learning a lot for all your articles :) NICE WORK by the way!

Cheers

Bill


Post Reply