BASH or other .HEX to .BIN Converter for Altair 8800 computers ???

15 views
Skip to first unread message

Walt Perko

unread,
May 14, 2026, 6:34:54 PMMay 14
to Altair 8800
Hi, 

Where can I find BASH?  Google is sending me to all sorts of nonsense, but not the Altair program, or a Windows 11 compatible program.  

Are there any other converters between .BIN and .HEX?  


.

Patrick Linstruth

unread,
May 14, 2026, 6:44:59 PMMay 14
to Walt Perko, Altair
What is BASH? Typically it is referring to a Unix shell.

Google might be confused because “altair program” is nonsensical.

If you tell it CP/M-80, you might have more luck.

Sent from my iPhone

On May 14, 2026, at 6:34 PM, Walt Perko <r4r...@gmail.com> wrote:

Hi, 

Where can I find BASH?  Google is sending me to all sorts of nonsense, but not the Altair program, or a Windows 11 compatible program.  

Are there any other converters between .BIN and .HEX?  


.

--
You received this message because you are subscribed to the Google Groups "Altair 8800" group.
To unsubscribe from this group and stop receiving emails from it, send an email to Altair-8800...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/Altair-8800/54ae36db-99ae-4728-9885-e2b84de9f468n%40googlegroups.com.

Joseph Corda

unread,
May 14, 2026, 7:00:30 PMMay 14
to Walt Perko, Altair 8800
Walt 
BASH is a unix/Linux shell ..  kind of like MS-DOS command prompt.. I know there are versions of BASH for Windows (gitbash for example) .. but can not recommend one.   As for converting a binary/rom image to hex I have had some success using a linux tool called "objcopy" I know this does not help WIndows users but felt it was worth mentioning.. Here is an example of running it 

objcopy -I binary -O ihex input.bin output.hex

Aso I you have any interest I wrote a tool in 8080 assembler when I created in my Joemon monitor that takes an address range and converts it to intel hex and dumps it to the screen.   I would then copy and paste the screen HEX dump into a file. (I later added the same function to my monitor.) 

If this sounds helpful ..I will look to see if I can find my code...   I mainly ran it on SIMH Altair  simulator
Please note as I recall this was written to help me learn 8080 Assembler language so it is very rough .. and not a good coding example.
Joe

--

Walt Perko

unread,
May 14, 2026, 8:15:17 PMMay 14
to Altair 8800
Hi, 

I'm trying to go the other way.  I want to convert an Intel .HEX file into a RAW .BIN file.  



.

Joseph Corda

unread,
May 14, 2026, 8:37:40 PMMay 14
to Walt Perko, Altair 8800


Joseph Corda

unread,
May 14, 2026, 8:55:05 PMMay 14
to Walt Perko, Altair 8800
Walt
Here is a simple mbasic program that can set a value in memory and read it back. 
Add an input for a mem range .. a loop and send the output to a file and you are done ;-)
All kidding aside this should get you started with dumping memory from a mbasic program 
Once you get it working . then convert it to ASM to get some speed .. 
Joe

list
10 POKE &HFF,&HAA
20 A=PEEK(&HFF)
30 PRINT A
40 B$=HEX$(A)
50 PRINT B$
Ok
run
 170
AA
Ok

Walt Perko

unread,
May 14, 2026, 9:11:16 PMMay 14
to Altair 8800
Hi, 

I should say, I want to program a 27C64 EPROM with AMON ... I got the AMON.HEX from https://deramp.com/downloads/mfe_archive/010-S100%20Computers%20and%20Boards/03-Martin%20Eberhard/40-Eberhard%20Firmware/AMON/

My XGPro II Plus loads Intel .HEX files, but when I try loading the AMON into the EPROM Programmer software, all I see is FF throughout the entire 8K chip!  

Can't Load AMON HEX.jpg


I should be able to load the file, move it to the correct offset and burn the image into the EPROM, but all I see is FF everywhere!  



.

Walt Perko

unread,
May 14, 2026, 9:14:47 PMMay 14
to Altair 8800
Hi, 

I've written PEEK 'n POKE programs with MBASIC/BASIC-80 ... but that's not going to create a .BIN file on my PC. that I can program an EPROM with.  





.

Walt Perko

unread,
May 14, 2026, 9:36:17 PMMay 14
to Altair 8800
Hi, 

Geeze I love A.I. ... ChatGPT did the conversion for me in 2-seconds ... 

I got the AMON.HEX loaded into the XGPro TL866 II Plus buffer, at the correct offset and saved the file.  

I still think there must be a certified good PC/Windows program that can swap back 'n forth between .HEX and .BIN, but so far Google is more of a distraction than a useful search anymore.  


.

Patrick Linstruth

unread,
May 15, 2026, 6:02:02 AMMay 15
to Walt Perko, Altair
Walt, your AMON is probably assembled to start at F800. Your ROM starts at 0000.

When loading the HEX file, you will need to give your software an offset to have it load in the correct location of your ROM.

To do this you need to know where your ROM starts in your 64K address space and the offset from that location to where AMON will be.

Example. If your ROM starts at F000 and AMON is at F800, you will need a -F000 offset when loading the HEX file, which will load your HEX file at 0800 within the ROM.

Sent from my iPhone

On May 14, 2026, at 9:11 PM, Walt Perko <r4r...@gmail.com> wrote:

Hi, 

I should say, I want to program a 27C64 EPROM with AMON ... I got the AMON.HEX from https://deramp.com/downloads/mfe_archive/010-S100%20Computers%20and%20Boards/03-Martin%20Eberhard/40-Eberhard%20Firmware/AMON/

My XGPro II Plus loads Intel .HEX files, but when I try loading the AMON into the EPROM Programmer software, all I see is FF throughout the entire 8K chip!  

Patrick Linstruth

unread,
May 15, 2026, 6:39:06 AMMay 15
to Altair 8800

Walt Perko

unread,
May 15, 2026, 7:15:45 AMMay 15
to Altair 8800
Hi, 

Okay, that is probably the problem I was having with the AMON.HEX file.  The  XGPro TL866 II Plus was trying to buffer the file at F800 which is out of range of the chip buffer in the  XGPro TL866 II Plus, so nothing shows up on the display.  


After converting the file to a .BIN, then I just loaded the .BIN into the buffer area starting at 0800h and that worked.  


I'll give the Load -F000h a try when I get up in the morning to play.  I need to go back to sleep now.  



.

Reply all
Reply to author
Forward
0 new messages