hp2114 basic
Bob Shannon
bshannon at tiac.net
Mon Mar 28 20:40:42 CST 2005
Be careful with HPASM, its very broken!
It does not parse combined opcodes correctly at all.
----- Original Message -----
From: "Tim Riker" <Tim at rikers.org>
To: "General Discussion: On-Topic Posts Only" <cctech at classiccmp.org>
Sent: Monday, March 28, 2005 2:43 PM
Subject: Re: hp2114 basic
> Steve Robertson wrote:
>> Files with the "ABS" extension are compiled files. I don't have the ABS
>> documentation in front of me but the format is not very complex. You can
>> download the cross compiler at:
>> http://oscar.taurus.com/~jeff/2100/emulator/hpasm.c (saves files in ABS
>> format) and figure out exactly what the format is.
>
> Thanx, I posted later on that I used the perl assember here:
>
> http://www.brouhaha.com/~eric/software/asm21/
>
> and got it assembled. The C version above did not work well for me.
>
>>
>> The real trick is getting the file loaded into the HP1000. Depending on
>> which I/O cards and loader ROMS you have, you can load the data either
>> serially or in parallel.
>
> actually I'm using simh at this point. loading the "tape" was no problem
> at all.
>
> Now I'm stumped on getting it bootstrapped. Not sure where to put the
> tty port number info. Does it just want a slot number? looks like simh
> defaults to tty in slot 11, but I don't understand what the code is
> looking for:
>
> PTSBS CLC 0 TURN OFF ALL DEVICES
> LIA 1 LOAD I/O ADDRESS OF TTY
> AND .63 MASK TO LOWER 6-BITS
> STA B PUT ADDRESS IN B-REGISTER
> ARS,ARS SHIFT TO BITS (5-3)
> ARS
> SZA I/O ADDRESS >7?
> JMP ZGO YES-INITIALIZE PREPARE BASIC TTY
> *
> HLT 55B INVALID I/O ADDRESS HALT
> JMP PTSBS TRY AGAIN
>
> more info on the wiki page:
>
> http://rikers.org/wiki/FirstComputer
>
> --
> Tim Riker - http://rikers.org/ - TimR at Debian.org
> Linux Technologist - Tim at TI.com - http://www.TI.com/
> BZFlag maintainer - http://BZFlag.org/ - for fun!
>
More information about the cctalk
mailing list