Today I wrote ...

Anything QL Software or Programming Related.
User avatar
NormanDunbar
Aurora
Posts: 760
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Today I wrote ...

Postby NormanDunbar » Thu Jul 25, 2019 10:15 pm

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?
If at first you don't succeed, don't take up skydiving!
If you think your job is pointless, remember, there's someone in Germany who fits indicators to BMWs.
User avatar
janbredenbeek
Gold Card
Posts: 332
Joined: Wed Jan 21, 2015 4:54 pm
Location: Hilversum, The Netherlands

Re: Today I wrote ...

Postby janbredenbeek » Thu Jul 25, 2019 10:29 pm

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
Aurora
Posts: 760
Joined: Tue Dec 14, 2010 9:04 am
Location: Leeds, West Yorkshire, UK
Contact:

Re: Today I wrote ...

Postby NormanDunbar » Thu Jul 25, 2019 11:21 pm

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?
If at first you don't succeed, don't take up skydiving!
If you think your job is pointless, remember, there's someone in Germany who fits indicators to BMWs.
retro_collector
Brittle Membrane
Posts: 104
Joined: Sun Jul 21, 2019 2:26 pm
Location: Chicago, IL USA

Re: Today I wrote ...

Postby retro_collector » Mon Jul 29, 2019 3:51 pm

Norman,

What assembly language tools do you use?

Cbeers

Bill


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

Re: Today I wrote ...

Postby NormanDunbar » Mon Jul 29, 2019 10:28 pm

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?
If at first you don't succeed, don't take up skydiving!
If you think your job is pointless, remember, there's someone in Germany who fits indicators to BMWs.
retro_collector
Brittle Membrane
Posts: 104
Joined: Sun Jul 21, 2019 2:26 pm
Location: Chicago, IL USA

Re: Today I wrote ...

Postby retro_collector » Tue Jul 30, 2019 1:43 am

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



Who is online

Users browsing this forum: No registered users and 4 guests