Welcome, Guest. Please login or register.

Author Topic: ABasic  (Read 4273 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline ferrellslTopic starter

ABasic
« on: September 03, 2010, 03:51:48 AM »
I'm looking for a copy of ABasic.  It's the version of BASIC that shipped on the Amiga Workbench Extras Disk v1.0.  This version of BASIC was written by Metacomco and isn't related to the AmigaBASIC written by Microsoft.

Does anyone know where I can get ABasic or an ADF of Extras Disk?  Googled around for quite a while and found the patches that enable it to work under KS/WB 2.0 or greater, but no luck finding ABasic itself.
« Last Edit: September 03, 2010, 03:56:55 AM by ferrellsl »
 

Offline zurt

  • Full Member
  • ***
  • Join Date: Feb 2002
  • Posts: 114
  • Country: kp
    • Show only replies by zurt
Re: ABasic
« Reply #1 on: September 03, 2010, 06:50:26 AM »
first time i heard about its existence.

it would nice to find it though.
zurt

AmigaOS user since 1989
MorphOS user since 2003
 

Offline olsen

Re: ABasic
« Reply #2 on: September 03, 2010, 09:28:27 AM »
Quote from: ferrellsl;577464
I'm looking for a copy of ABasic.  It's the version of BASIC that shipped on the Amiga Workbench Extras Disk v1.0.  This version of BASIC was written by Metacomco and isn't related to the AmigaBASIC written by Microsoft.

Does anyone know where I can get ABasic or an ADF of Extras Disk?  Googled around for quite a while and found the patches that enable it to work under KS/WB 2.0 or greater, but no luck finding ABasic itself.

As far as I know ABasiC shipped only with the very, very first Workbench disk sets. At the time Microsoft's AmigaBASIC was not ready to ship, so Commodore went with Metacomco's offering as a stop-gap measure.

From what I remember, ABasiC was not quite of the same quality and power as AmigaBASIC. For example, AmigaBASIC had a full-screen editor for entering your programs, but ABasiC only had a line editor. There was no support for calling operating system functions through the .fd file offsets, etc.

So if you don't manage to find it, you are not actually missing that much ;-)

Um, after some more digging, here's some bonus info: ABasiC came out of Tenchstar, Ltd. "BASIC 68000", and unlike Microsoft's AmigaBASIC, ABasiC was written almost entirely in 'C', with some assembly language code to aid it.

As for Microsoft AmigaBASIC, I believe that it may have been a P-Code interpreter for the actual BASIC implementation. The Amiga platform-specific portions of it were written in plain assembly language, which would have been hard to justify if the remainder of the AmigaBASIC implementation were written in 'C'. It would explain why AmigaBASIC was often so surprisingly slow, and why it didn't work on a machine with a 32 bit address space. I suspect that the P-Code interpreter came from the Apple Macintosh BASIC Microsoft wrote, which would explain the 32 bit address space issues.
« Last Edit: September 03, 2010, 11:04:02 AM by olsen »
 

Offline Hattig

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 901
    • Show only replies by Hattig
Re: ABasic
« Reply #3 on: September 03, 2010, 12:50:09 PM »
I believe that Microsoft thought it was a good idea to store some state in the upper 8 bits of the address of a variable in AmigaBasic, which naturally broke on any CPU with a 32-bit bus where those bits became significant.
 

Offline olsen

Re: ABasic
« Reply #4 on: September 03, 2010, 01:36:00 PM »
Quote from: Hattig;577510
I believe that Microsoft thought it was a good idea to store some state in the upper 8 bits of the address of a variable in AmigaBasic, which naturally broke on any CPU with a 32-bit bus where those bits became significant.


This was a common practice on the Apple Macintosh operating system, which used the top 8 bits of each memory manager handle address to store information about the handle.

Of course, the fun only lasted until Apple built a machine with a 32 bit address bus. Rather than updating the software, they "crippled" the machine to have the topmost 8 bits of each address ignored. The operating system took much longer to fix...

Anyway, this strange practice of playing with the topmost 8 bits of addresses is what lead me to believe that core of AmigaBASIC is a P-Code interpreter, with all the bad habits of its origin migrated to the Amiga.
 

Offline beller

  • S.A.C.C.
  • Hero Member
  • *
  • Join Date: Dec 2004
  • Posts: 665
    • Show only replies by beller
Re: ABasic
« Reply #5 on: September 03, 2010, 04:04:27 PM »
Quote from: ferrellsl;577464
I'm looking for a copy of ABasic.  It's the version of BASIC that shipped on the Amiga Workbench Extras Disk v1.0.  This version of BASIC was written by Metacomco and isn't related to the AmigaBASIC written by Microsoft.

Does anyone know where I can get ABasic or an ADF of Extras Disk?  Googled around for quite a while and found the patches that enable it to work under KS/WB 2.0 or greater, but no luck finding ABasic itself.


I'll need a bit of time, but I might have a copy of ABasic around here.  I'll need to sort through some disks this afternoon.  I'm positive I have the manual in my original Amiga 1000 document binder so I should have it...hope the disks haven't died!  This is becoming an increasing problem with disks about to turn 25 or so...

Bob
 

Offline ferrellslTopic starter

Re: ABasic
« Reply #6 on: September 04, 2010, 03:32:26 AM »
Thanks.  I hope your disks are still readable, but 25 years is an eternity in the IT world.  I'll keep my fingers crossed.
 

Offline Sld-SNaKe

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 2
    • Show only replies by Sld-SNaKe
Re: ABasic
« Reply #7 on: September 04, 2010, 03:47:05 PM »
I didn't know about that first version of Basic, perhaps beacuse I started with an Amiga 500 and Extras 1.2 (with the MS Basic). I searched for a Workbench 1.0 and I encountered one, tested in ROM1.3 and yes: that Basic it's a version from Metacomco, but it's veeery simple. you can search for an image: 'Amiga Workbench 1.0 (30.XXX) (Commodore) (1985)', since i think it cannot be distributed. The version can be 30.xxx or 31.334. I hope this info will be helpful.
 

Offline Amiga_Nut

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 926
    • Show only replies by Amiga_Nut
Re: ABasic
« Reply #8 on: September 04, 2010, 05:06:22 PM »
Hmmm I remember having dowloaded a large set of Kickstart and Workbench files, not sure if I have 1.0 Workbench set but definitely have 1.1. I'll have a look later for it and let you know.

So apart from the UI is Abasic better than AmigaBasic? Someone should do a comparison on Youtube or something :)
 

Offline Kronos

  • Resident blue troll
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 4017
    • Show only replies by Kronos
    • http://www.SteamDraw.de
Re: ABasic
« Reply #9 on: September 04, 2010, 06:31:13 PM »
@olsen

Weren't there also some really really early Amiga-includes that defined APTR as 24bit ?
1. Make an announcment.
2. Wait a while.
3. Check if it can actually be done.
4. Wait for someone else to do it.
5. Start working on it while giving out hillarious progress-reports.
6. Deny that you have ever announced it
7. Blame someone else
 

Offline olsen

Re: ABasic
« Reply #10 on: September 04, 2010, 07:41:49 PM »
Quote from: Kronos;577753
@olsen

Weren't there also some really really early Amiga-includes that defined APTR as 24bit ?


I think that was something different. There's something like a "macro opcode language" in exec which could be used to save space when initializing library and device data structures. Instead of writing code to do that, you'd set up a list of opcodes with information detailing what to modify and where. One of these opcodes dealt with pointers, and the pointer type was only 24 bits wide.