REMINDER - Stay logged in for at least 2 hours a week to get whitelisted.
Also it helps build a picture where our "good traffic" is coming from for detection scripts.
:o)

A blast from the past sort of - Altairduino build.

Blogs & guides and tales of woo by forum members.
User avatar
exxos
Site Admin
Site Admin
Posts: 28593
Joined: 16 Aug 2017 23:19
Location: UK

Re: A blast from the past sort of - Altairduino build.

Post by exxos »

rubber_jonnie wrote: 03 Mar 2024 13:55 Well, if she ever becomes wife 1.0 and enters the beta testing phase, you may need to adjust your expectations 🤣
Maybe :lol:
To be fair, my wife is pretty flexible,

;)
and if I get an annual bonus from work I am always able to spend a portion of it. Personally I do have an inbuilt gauge about what I think is too much, so it works pretty well 😁
:lol: reminds me of cats... Sometimes they let you have some of your own food as they like to share..
User avatar
rubber_jonnie
Site Admin
Site Admin
Posts: 15021
Joined: 17 Aug 2017 19:40
Location: Essex

Re: A blast from the past sort of - Altairduino build.

Post by rubber_jonnie »

So I have been doing a little digging about how I can program this machine from the front panel, since until the expansion board arrives, that's all I can do.

I happened upon a YouTube video that showed the bootstrap loader written by Bill Gates and Paul Allen that allowed basic to load from paper tape.

Screenshot 2024-03-03 at 11.10.14.png

And no, I haven't attempted to disassemble it yet!!!

To actually 'type' in the program is actually not as horrendously difficult as it may at first seem. First off we power on, and once it's up, we hold up 'stop' & 'reset' together to get us to a state where we can enter a program:

IMG20240303140222.jpg

What you're seeing here is address 00 000 000 - yes, that's right, it's uses OCTAL. This works very well for input of data, and here you can see that that address contains data, specifically D4 is illuminated.

So for this machine octal works out as follows in binary for data and address lines:


Screenshot 2024-03-03 at 15.24.51.png


So in the case above, the value of D4 is 2, so in octal it's 0 2 0, and that is stored in address 0 0 0. That value of 2 is just random garbage left over from boot time.

To enter the first line of our code into address 0 0 0, we need to enter a value. Since it is in the reset state, we are in the correct memory location as none of the address LEDs are lit.

The first line of the code is 041, so to enter that we need to set the switches as follows:

D7 & D6 are off. This gives 0 for the first block of octal.

D5 is on.
D4 & D3 are off. This gives a 4 for the 2nd block of octal.

D2 & D1 are off.
D0 is on. This gives a 1 for the last block of octal.

So with our switches set to 041 we are ready to insert that value into memory. We do this by pressing 'deposit', and this inserts the value into the currently selected memory location, 00 000 000.

So we now need to next insert 256 into memory location 00 000 001. We do the same thing, but this time set the switches to represent 256 in octal, so D7 would be on, A5 & A3 would be on and A2 & A1 would be on.

If we just clicked the 'deposit' switch up, that would overwrite the 041 we already wrote to 00 000 000, so this time we use the 'deposit next' option, and it will automatically insert the value of 256 into 00 000 001.

It's really quite intuitive, and in fact once you have entered your program you can even edit it by using 'examine/examine next' to view the contents of memory, and if wrong using 'deposit' to overwrite it with a new value.

For example, you can see a number of LEDs illuminated here:

IMG20240303141457.jpg

Taking the address lines first we can see that A3, A2 and A0 are illuminated. this gives us an address of 00 001 101 which converts to 015.

Looking at the data we can see that D7, D6 and D3 are illuminated, giving us the value of 11 001 000 which converts to 310.

Looking at the original listing at the beginning of the post we can see that address 015 should contain the value of 310, and that's in fact exactly what it does.

Does it run though? Actually it does, but of course with no punch tape reader, it sits there waiting and waiting for input that is never coming.

I find this quite a thrilling little experiment, and I can imagine it will be a very useful tool to help in learning some more machine code.

I also painted the screws at the bottom silver, and I think it looks a lot better now :)

IMG20240303140139.jpg
You do not have the required permissions to view the files attached to this post.
Collector of many retro things!
800XL and 65XE both with Ultimate1MB,VBXL/XE & PokeyMax, SIDE3, SDrive Max, 2x 1010 cassette, 2x 1050 one with Happy mod, 3x 2600 Jr, 7800 and Lynx II
Approx 20 STs, including a 520 STM, 520 STFMs, 3x Mega ST, MSTE & 2x 32 Mhz boosted STEs
Plus the rest, totalling around 50 machines including a QL, 3x BBC Model B, Electron, Spectrums, ZX81 etc...
User avatar
rubber_jonnie
Site Admin
Site Admin
Posts: 15021
Joined: 17 Aug 2017 19:40
Location: Essex

Re: A blast from the past sort of - Altairduino build.

Post by rubber_jonnie »

exxos wrote: 03 Mar 2024 14:45
rubber_jonnie wrote: 03 Mar 2024 13:55 Well, if she ever becomes wife 1.0 and enters the beta testing phase, you may need to adjust your expectations 🤣
Maybe :lol:
To be fair, my wife is pretty flexible,

;)
and if I get an annual bonus from work I am always able to spend a portion of it. Personally I do have an inbuilt gauge about what I think is too much, so it works pretty well 😁
:lol: reminds me of cats... Sometimes they let you have some of your own food as they like to share..
Sounds about right...
Collector of many retro things!
800XL and 65XE both with Ultimate1MB,VBXL/XE & PokeyMax, SIDE3, SDrive Max, 2x 1010 cassette, 2x 1050 one with Happy mod, 3x 2600 Jr, 7800 and Lynx II
Approx 20 STs, including a 520 STM, 520 STFMs, 3x Mega ST, MSTE & 2x 32 Mhz boosted STEs
Plus the rest, totalling around 50 machines including a QL, 3x BBC Model B, Electron, Spectrums, ZX81 etc...
User avatar
HigashiJun
Posts: 2388
Joined: 19 Jun 2020 07:21
Location: Tokyo

Re: A blast from the past sort of - Altairduino build.

Post by HigashiJun »

@exxos @rubber_jonnie

:lol:

In my case, more room for my retro stuff here would arrange a lot of things.
User avatar
rubber_jonnie
Site Admin
Site Admin
Posts: 15021
Joined: 17 Aug 2017 19:40
Location: Essex

Re: A blast from the past sort of - Altairduino build.

Post by rubber_jonnie »

HigashiJun wrote: 03 Mar 2024 22:56 @exxos @rubber_jonnie

:lol:

In my case, more room for my retro stuff here would arrange a lot of things.
I can well imagine it would help. The most I ever have to do is a bit of rearranging, putting stuff away and getting it all out again would really cramp my style.
Collector of many retro things!
800XL and 65XE both with Ultimate1MB,VBXL/XE & PokeyMax, SIDE3, SDrive Max, 2x 1010 cassette, 2x 1050 one with Happy mod, 3x 2600 Jr, 7800 and Lynx II
Approx 20 STs, including a 520 STM, 520 STFMs, 3x Mega ST, MSTE & 2x 32 Mhz boosted STEs
Plus the rest, totalling around 50 machines including a QL, 3x BBC Model B, Electron, Spectrums, ZX81 etc...
User avatar
HigashiJun
Posts: 2388
Joined: 19 Jun 2020 07:21
Location: Tokyo

Re: A blast from the past sort of - Altairduino build.

Post by HigashiJun »

rubber_jonnie wrote: 03 Mar 2024 15:21 I also painted the screws at the bottom silver, and I think it looks a lot better now :)
Definitely !
User avatar
rubber_jonnie
Site Admin
Site Admin
Posts: 15021
Joined: 17 Aug 2017 19:40
Location: Essex

Re: A blast from the past sort of - Altairduino build.

Post by rubber_jonnie »

HigashiJun wrote: 04 Mar 2024 11:12
rubber_jonnie wrote: 03 Mar 2024 15:21 I also painted the screws at the bottom silver, and I think it looks a lot better now :)
Definitely !
Of course you know that the Altair looks so good you could leave it out on a window sill as a conversation piece and for easy access and probably get away with it ;)
Collector of many retro things!
800XL and 65XE both with Ultimate1MB,VBXL/XE & PokeyMax, SIDE3, SDrive Max, 2x 1010 cassette, 2x 1050 one with Happy mod, 3x 2600 Jr, 7800 and Lynx II
Approx 20 STs, including a 520 STM, 520 STFMs, 3x Mega ST, MSTE & 2x 32 Mhz boosted STEs
Plus the rest, totalling around 50 machines including a QL, 3x BBC Model B, Electron, Spectrums, ZX81 etc...
User avatar
rubber_jonnie
Site Admin
Site Admin
Posts: 15021
Joined: 17 Aug 2017 19:40
Location: Essex

Re: A blast from the past sort of - Altairduino build.

Post by rubber_jonnie »

Well, I managed to get the expansion card built and installed last night:

IMG20240312091656.jpg

And it adds a number of useful ports to the back too:

IMG20240312091738.jpg

Left to right we have power, SD card, Serial (Micro USB above that), USB & last but by no means least, VGA.

So I need to sit down with it now and try out the various options, not to mention what's on the included SD card. There are also now expansion slots, and there is a disk controller available as well as an LED register board.

Looking forward to plugging in a few more bits to it, I may even use an ST as a terminal :)
You do not have the required permissions to view the files attached to this post.
Collector of many retro things!
800XL and 65XE both with Ultimate1MB,VBXL/XE & PokeyMax, SIDE3, SDrive Max, 2x 1010 cassette, 2x 1050 one with Happy mod, 3x 2600 Jr, 7800 and Lynx II
Approx 20 STs, including a 520 STM, 520 STFMs, 3x Mega ST, MSTE & 2x 32 Mhz boosted STEs
Plus the rest, totalling around 50 machines including a QL, 3x BBC Model B, Electron, Spectrums, ZX81 etc...
User avatar
HigashiJun
Posts: 2388
Joined: 19 Jun 2020 07:21
Location: Tokyo

Re: A blast from the past sort of - Altairduino build.

Post by HigashiJun »

A nice expansion !
User avatar
rubber_jonnie
Site Admin
Site Admin
Posts: 15021
Joined: 17 Aug 2017 19:40
Location: Essex

Re: A blast from the past sort of - Altairduino build.

Post by rubber_jonnie »

HigashiJun wrote: 12 Mar 2024 12:37 A nice expansion !
It is, and it's neat that it sort of replicates the expansion bus of the old machine, albeit in a smaller scale.

Looking forward to hooking up an old fashioned serial cable to see what flies :)
Collector of many retro things!
800XL and 65XE both with Ultimate1MB,VBXL/XE & PokeyMax, SIDE3, SDrive Max, 2x 1010 cassette, 2x 1050 one with Happy mod, 3x 2600 Jr, 7800 and Lynx II
Approx 20 STs, including a 520 STM, 520 STFMs, 3x Mega ST, MSTE & 2x 32 Mhz boosted STEs
Plus the rest, totalling around 50 machines including a QL, 3x BBC Model B, Electron, Spectrums, ZX81 etc...

Return to “MEMBER BLOGS”

Who is online

Users browsing this forum: Baidu [Spider], ClaudeBot, Reylan, Steve and 10 guests