ASBAS Assembly Orientated BASIC

discussion of beeb/electron applications, languages, utils and educational s/w
Post Reply
Kevin Edwards
Posts: 86
Joined: Tue Mar 14, 2006 9:16 pm
Contact:

ASBAS Assembly Orientated BASIC

Post by Kevin Edwards » Wed Jan 17, 2018 10:17 am

Hi,

Whilst going through my archived discs i found one called ASBAS. I haven't seen any mention of it in the forums and wondered if anyone has ever used it or is interested in it?

Basically, it's a hacked version of HIBASIC (cmos) that has been modified to include extensions useful for assembly language programmers. This new code has been located over the transdendental functions ( sin/cos etc. ).

The same disk image also has a cmos disassembler i wrote for The Micro User.

SSD Image attached. Check out the 'Read-me' file first.

Kevin.
Attachments
2NDPROC3.SSD
(200 KiB) Downloaded 34 times

User avatar
BigEd
Posts: 1838
Joined: Sun Jan 24, 2010 10:24 am
Location: West
Contact:

Re: ASBAS Assembly Orientated BASIC

Post by BigEd » Wed Jan 17, 2018 10:52 am

An excellent idea!

Kevin Edwards
Posts: 86
Joined: Tue Mar 14, 2006 9:16 pm
Contact:

Re: ASBAS Assembly Orientated BASIC

Post by Kevin Edwards » Wed Jan 17, 2018 10:57 am

I'm not sure who the original author is, but they obviously had a very good understanding of the Basic interpreter and knew their way around the ROM routines.

crj
Posts: 834
Joined: Thu May 02, 2013 4:58 pm
Contact:

Re: ASBAS Assembly Orientated BASIC

Post by crj » Wed Jan 17, 2018 11:31 am

Kevin Edwards wrote:This new code has been located over the transdendental functions ( sin/cos etc. ).
Curious!

If it's running in the second processor, there's no real need to stay within 16Kbytes. I wonder why they didn't just lower HIMEM a little and have everything.

Kevin Edwards
Posts: 86
Joined: Tue Mar 14, 2006 9:16 pm
Contact:

Re: ASBAS Assembly Orientated BASIC

Post by Kevin Edwards » Wed Jan 17, 2018 12:37 pm

Sure, but the issue is to do with BBC BASIC keyword tokens.

All of the token IDs in HI-BBC BASIC ( $80-$FF ) are used so they had to piggy-back existing tokens with new commands and functionality. As you are unlikely to use SIN, COS, TAN etc, when writinglarge scale assembly code, these were the obvious first choice candidates. The 'read-me' file details the new BASIC keywords and lists the ones they took out.

User avatar
Rich Talbot-Watkins
Posts: 1281
Joined: Thu Jan 13, 2005 5:20 pm
Location: Palma, Mallorca
Contact:

Re: ASBAS Assembly Orientated BASIC

Post by Rich Talbot-Watkins » Wed Jan 17, 2018 8:13 pm

Wouldn't have really been useful for me - I used to use SIN/COS/SQR etc all the time for building tables and so on. In fact, that was one of my main reasons for writing BeebAsm in the first place - to have a 6502 cross assembler that could let me use these functions to build tables within my assembler source code!

Still, it's a curious find. Certainly the first time I've ever heard of it.

Post Reply