BASIC ROM User Guide [Remastered PDF]

avoid work duplication! collaborate on the archival of acorn literature!
Post Reply
User avatar
dv8
Posts: 397
Joined: Mon Jun 22, 2009 10:07 pm
Contact:

BASIC ROM User Guide [Remastered PDF]

Post by dv8 »

Attached is an OCRed and re-typeset copy of the BASIC ROM User Guide by Mark Plumbley.

The SSD disc image contains all the listings in the book.

BASIC_ROM_User_Guide.pdf
Second revision, March 2023
(1.08 MiB) Downloaded 252 times
BASIC_ROM_User_Guide.ssd
(82.5 KiB) Downloaded 83 times

Other remastered books you may be interested in:

Advanced BASIC ROM User Guide
BBC Micro User Guide (Model B and B+ editions)
Last edited by dv8 on Sat Apr 15, 2023 11:59 am, edited 5 times in total.
cmorley
Posts: 1867
Joined: Sat Jul 30, 2016 8:11 pm
Location: Oxford
Contact:

Re: BASIC ROM User Guide

Post by cmorley »

Cool. I've been looking out for a print copy of this book for a year now.
User avatar
flaxcottage
Posts: 5718
Joined: Thu Dec 13, 2012 8:46 pm
Location: Derbyshire
Contact:

Re: BASIC ROM User Guide

Post by flaxcottage »

=D> =D> =D>
- John

Check out the Educational Software Archive at www.flaxcottage.com
User avatar
DutchAcorn
Posts: 2674
Joined: Fri Mar 21, 2014 9:56 am
Location: Maarn, Netherlands
Contact:

Re: BASIC ROM User Guide

Post by DutchAcorn »

Excellently done, again.. =D>

Is "The Advanced Basic Rom User Guide" by Colin Pharo also in the pipeline?

Edit: I just saw you already did it. :shock: :-# =D>
Paul
User avatar
jms2
Posts: 3765
Joined: Mon Jan 08, 2007 6:38 am
Location: Derby, UK
Contact:

Re: BASIC ROM User Guide

Post by jms2 »

You've done a beautiful job with these two BASIC rom books, I'm very impressed! =D>

EDIT: The cover illustration is just incredible!
User avatar
jgharston
Posts: 5321
Joined: Thu Sep 24, 2009 12:22 pm
Location: Whitby/Sheffield
Contact:

Re: BASIC ROM User Guide

Post by jgharston »

dv8 wrote:Attached is an OCRed and re-typeset copy of the BASIC ROM User Guide by Mark Plumbley.
The zip file also includes an SSD containing all the listings in the book.
BASIC_ROM_User_Guide.zip
There's a mistake! It's doesn't have SARAH ROE COMPUTING CENTRE stamped in the inside cover :D

Code: Select all

$ bbcbasic
PDP11 BBC BASIC IV Version 0.45
(C) Copyright J.G.Harston 1989,2005-2024
>_
User avatar
sweh
Posts: 3315
Joined: Sat Mar 10, 2012 12:05 pm
Location: 07410 New Jersey
Contact:

Re: BASIC ROM User Guide

Post by sweh »

Oh yes! The other BASIC book. I'm actually sad I threw these away when I moved to America in 2001. This book was a primary reason that I was able to write my own BASIC Extension ROM.

And, again, an excellent PDF. =D>
Rgds
Stephen
Kevin Edwards
Posts: 192
Joined: Tue Mar 14, 2006 9:16 pm
Contact:

Re: BASIC ROM User Guide

Post by Kevin Edwards »

Awesome work!

Thank you. Nice to have a digital version to go with my original.

Cheers,
Kevin.
User avatar
dv8
Posts: 397
Joined: Mon Jun 22, 2009 10:07 pm
Contact:

Re: BASIC ROM User Guide [Remastered PDF]

Post by dv8 »

An updated PDF of this book has been added to the opening post.

Changes since revision 1 (October 2017):
  • p40 (42) 2.3.2 Figure 2.6 Line number tokenising : LSB and MSB were the wrong way round
  • p61 (63) 3.3 Workspace &27 : changed description to 'Variable type of current expression'
  • p61 (63) 3.3 Workspace &29-2B : added descriptions for &2A=operand-lo, &2B=operand-hi
  • p165 (167) 10 Summary : added hyperlinks for all entries
  • p165 (167) 10.3 Statement handling : 'skipin' should be 'skplin'
  • p166 (168) 10.5 Variable/FN/PROC management : 'fndvar' should be 'fndvrb'
  • p166 (168) 10.5 Variable/FN/PROC management : 'linkvar' should be 'lnkvar'
  • p167 (169) 10.9 Integer routines : added entries for addi, subi, muli
tom_seddon
Posts: 889
Joined: Tue Aug 30, 2005 12:42 am
Contact:

Re: BASIC ROM User Guide [Remastered PDF]

Post by tom_seddon »

I noticed an error (which is also in the PDF of scans that I've previously used)

p 190, getifb entry points for BASIC 1 and BASIC 2 are swapped. They are the right way round in the table on p 328.

--Tom
james
Posts: 330
Joined: Tue Aug 15, 2023 8:41 pm
Location: NE Hampshire
Contact:

Re: BASIC ROM User Guide [Remastered PDF]

Post by james »

Hi. I think there could be an error on p25. Should the comments in brackets be for the Y register, not X?
Zero page,X (‘,Y’ for LDXY)
Absolute,X (‘,Y’ for LDXY)

Zero page,X (‘,Y’ for STXY)
A tiny formatting issue on p42 where the “C” flags for BASIC 2’s PI, POS & RND have one too many preceding dashes

Code: Select all

 OPENOUT --------  BF7C
 PI      --------C ABCB
 POINT(  --------  AB41
 POS     --------C AB6D
 RAD     --------  ABB1
 RND     --------C AF49
 SGN     --------  AB88
User avatar
dv8
Posts: 397
Joined: Mon Jun 22, 2009 10:07 pm
Contact:

Re: BASIC ROM User Guide [Remastered PDF]

Post by dv8 »

james wrote: Fri Apr 12, 2024 4:58 am Hi. I think there could be an error on p25. Should the comments in brackets be for the Y register, not X?
Those comments are correct, referring to addressing modes LDY addr,X and LDX addr,Y
james wrote: Fri Apr 12, 2024 4:58 am A tiny formatting issue on p42 where the “C” flags for BASIC 2’s PI, POS & RND have one too many preceding dashes
Yes, that's wrong. I'll add it to the list of corrections.
Thanks.
User avatar
sweh
Posts: 3315
Joined: Sat Mar 10, 2012 12:05 pm
Location: 07410 New Jersey
Contact:

Re: BASIC ROM User Guide [Remastered PDF]

Post by sweh »

james wrote: Fri Apr 12, 2024 4:58 am Hi. I think there could be an error on p25. Should the comments in brackets be for the Y register, not X?
Zero page,X (‘,Y’ for LDXY)
Absolute,X (‘,Y’ for LDXY)

Zero page,X (‘,Y’ for STXY)
I don't think so. What it's saying in the brackets is that the LDX command can do zp,Y and abs,Y. It's not well written (looks like someone tried to shorten the section and so added confusion) but it looks correct;
LDY zp,X; LDY abs,X; LDX zp,Y; LDX abs,Y.
Rgds
Stephen
james
Posts: 330
Joined: Tue Aug 15, 2023 8:41 pm
Location: NE Hampshire
Contact:

Re: BASIC ROM User Guide [Remastered PDF]

Post by james »

Ah - got it (and I need to do more revising!) - thanks both!
Coeus
Posts: 3557
Joined: Mon Jul 25, 2016 12:05 pm
Contact:

Re: BASIC ROM User Guide [Remastered PDF]

Post by Coeus »

james wrote: Fri Apr 12, 2024 12:32 pm Ah - got it (and I need to do more revising!) - thanks both!
Yes, it is part of the way the 6502 is a bit quirky. For an addressing mode that normally uses X as the index register, if it is implemented for loading X (LDX) then it swaps to using Y as the index register. The assumption is that the programmer does not want to lose the value in the index register. Likewise for a mode that usually uses Y, if implemented for LDY, it will use X instead.
tomhelm
Posts: 21
Joined: Fri Jan 19, 2024 5:18 pm
Contact:

Re: BASIC ROM User Guide [Remastered PDF]

Post by tomhelm »

Fantastic book, thanks for the beautiful conversion dv8!

One minor spelling issue to consider for the next revision: On page 115: "loose track" should be "lose track"
BASIC ROM User Guide p 115.png
james
Posts: 330
Joined: Tue Aug 15, 2023 8:41 pm
Location: NE Hampshire
Contact:

Re: BASIC ROM User Guide [Remastered PDF]

Post by james »

A miniscule formatting inconsistency on p102:
&FD ,&FE points to the error number (4)
Should have no space before the comma (eg as per p53, p129, etc)
Post Reply

Return to “scanning of books, magazines, ads and letters”