Copy binary file into array in basic

Anything QL Software or Programming Related.
User avatar
Sparrowhawk
Super Gold Card
Posts: 652
Joined: Wed Dec 15, 2010 12:33 pm
Location: @131072
Contact:

Re: Copy binary file into array in basic

Post by Sparrowhawk »

I recommend Norman's excellent assembly book (free): https://github.com/NormanDunbar/QLAssemblyLanguageBook/

And lots of links in this thread: https://www.qlforum.co.uk/viewtopic.php ... mbler+book


a.k.a. Jean-Yves
User avatar
t0nyt
Gold Card
Posts: 384
Joined: Wed Nov 22, 2023 6:46 pm
Location: UK

Re: Copy binary file into array in basic

Post by t0nyt »

Sparrowhawk wrote: Fri Jan 05, 2024 5:42 pm I recommend Norman's excellent assembly book (free): https://github.com/NormanDunbar/QLAssemblyLanguageBook/

And lots of links in this thread: https://www.qlforum.co.uk/viewtopic.php ... mbler+book
Will take a look, many thanks


Derek_Stewart
Font of All Knowledge
Posts: 3975
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: Copy binary file into array in basic

Post by Derek_Stewart »

Hi,

I converted all of Andrew Pennell's books, look in the Forum, you should be able download the PDF. Some have some corrections and updates.

You could also look at the SMSQ/E and Minerva source code, which is commented and probably the ultimate QL assembler reference.
Last edited by Derek_Stewart on Fri Jan 05, 2024 8:28 pm, edited 1 time in total.


Regards,

Derek
User avatar
t0nyt
Gold Card
Posts: 384
Joined: Wed Nov 22, 2023 6:46 pm
Location: UK

Re: Copy binary file into array in basic

Post by t0nyt »

Derek_Stewart wrote: Fri Jan 05, 2024 6:14 pm Hi,

I converted allof Andrew Pennell's books, look in the Forum, you should be able download the PDF. Some have some corrections and updates.

You could also look at the SMSQ/E and Minerva source code, which is commented and probably the ultimate QL assembler reference.
Thanks for the info


Derek_Stewart
Font of All Knowledge
Posts: 3975
Joined: Mon Dec 20, 2010 11:40 am
Location: Sunny Runcorn, Cheshire, UK

Re: Copy binary file into array in basic

Post by Derek_Stewart »

Hi,

I have converted the Advanced QL User Guide by Adrian Dickens, made additions and corrections to the original book, but Adrian Dickens is reviewing the copyright issue of the completed new edition, but this has been over 8 months now.

I am not sure I can release this new edition without breaching copyrights.

Maybe I should just publish and be damn, as the saying going.

Also look in the SMSQ/E Reference Manual, not QDOS, but the content, is the same as the QDOS Reference guide.


Regards,

Derek
User avatar
t0nyt
Gold Card
Posts: 384
Joined: Wed Nov 22, 2023 6:46 pm
Location: UK

Re: Copy binary file into array in basic

Post by t0nyt »

Derek_Stewart wrote: Sat Jan 06, 2024 7:42 am Hi,

I have converted the Advanced QL User Guide by Adrian Dickens, made additions and corrections to the original book, but Adrian Dickens is reviewing the copyright issue of the completed new edition, but this has been over 8 months now.

I am not sure I can release this new edition without breaching copyrights.

Maybe I should just publish and be damn, as the saying going.

Also look in the SMSQ/E Reference Manual, not QDOS, but the content, is the same as the QDOS Reference guide.
I don’t currently have any idea what SMSQ/E is…

Actually there’s quite a few acronyms on the forum I haven’t got my head around yet :D


User avatar
dilwyn
Mr QL
Posts: 2761
Joined: Wed Dec 01, 2010 10:39 pm

Re: Copy binary file into array in basic

Post by dilwyn »

t0nyt wrote: Fri Jan 05, 2024 3:00 pm Is "Assembly Language Programming on the Sinclair QL by Andrew Penell" a good place to start to get back into assembly programming on the QL please?

I have the GST QL Macro assembler manual as well, but have not programmed in assembler in 20 years (and then it was mainly 8086)

Many thanks
A lot of us cut our assembly language teeth on that book. It was of course written in the very early days of the QL so could be expected to have minor errors here and there (lots of handwritten notes scribbled in mine!)
I still find it really useful.


User avatar
t0nyt
Gold Card
Posts: 384
Joined: Wed Nov 22, 2023 6:46 pm
Location: UK

Re: Copy binary file into array in basic

Post by t0nyt »

dilwyn wrote: Sat Jan 06, 2024 11:21 am
t0nyt wrote: Fri Jan 05, 2024 3:00 pm Is "Assembly Language Programming on the Sinclair QL by Andrew Penell" a good place to start to get back into assembly programming on the QL please?

I have the GST QL Macro assembler manual as well, but have not programmed in assembler in 20 years (and then it was mainly 8086)

Many thanks
A lot of us cut our assembly language teeth on that book. It was of course written in the very early days of the QL so could be expected to have minor errors here and there (lots of handwritten notes scribbled in mine!)
I still find it really useful.
Have only got a pdf of the Pennel book at the moment. Hopefully will be able to get one reasonably priced on eBay at some point though as prefer to read a physical book and, as you say, can make notes in it! (have made a cheeky offer for one that’s listed currently but they seem to be ignoring me…)


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

Re: Copy binary file into array in basic

Post by NormanDunbar »

Sparrowhawk wrote: Fri Jan 05, 2024 5:42 pm I recommend Norman's excellent assembly book (free): https://github.com/NormanDunbar/QLAssemblyLanguageBook/

And lots of links in this thread: https://www.qlforum.co.uk/viewtopic.php ... mbler+book
I thank you, Sparrowhawk, for the vote of confidence! In addition to the free book, which started life as a long series of articles in the now defunct QL Today magazine, I have my own, not-so-regular-in-fact-very-irregular eComic on the matter of Assembly Programming. There are 11 editions - so far - and all are downloadable from https://github.com/NormanDunbar/QLAssem ... e/releases. The first is in a different style from the others, but the content is what matters. The later issues have some beginner friendly sections.

In case anyone is wondering, Issue 12 is in production, but as I've been a bit tied up in my book writing, I'm afraid that I have fallen behind on getting some articles written. Anyone fancy writing something? I can convert almost any format you write in to LaTeX which I use to produce the (high quality) of output.

By "high quality" I mean the print quality not the content that I write! ;)


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.
Post Reply