loading and saving code on the PAL-2

56 views
Skip to first unread message

John Bischoff

unread,
May 28, 2025, 8:22:37 PMMay 28
to PAL 6502 computer
How are people loading and saving 6502 hex code on their PAL-2?

I've got my PAL-2 successfully communicating via the serial device with my MacBook Air. 

I was able to hand-enter a test program on the PAL-2 and then hex dump it to my MacBook by setting up the begin and end addresses and running the Paper Tape dump subroutine on the PAL-2. 

Going the other way—loading the PAL-2 from a text file on my MacBook (hex codes in paper tape format) down to the PAL-2—has me stumped. 

Has anyone tried this? Or is there a better method?

Thanks,
John 

Ronny Ribeiro

unread,
May 28, 2025, 9:01:47 PMMay 28
to John Bischoff, PAL 6502 computer

--
You received this message because you are subscribed to the Google Groups "PAL 6502 computer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pal6502+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pal6502/de9da4f8-26ad-4c24-b1f6-168860299fe0n%40googlegroups.com.

Jeremy Starcher

unread,
May 28, 2025, 9:13:37 PMMay 28
to Ronny Ribeiro, John Bischoff, PAL 6502 computer
I am working on a device, btw, that will allow you to load and save from the PAL-1/PAL-2 itself.  Basically it will sit on the serial interface and allow recording or playing back.

Been under development for a few months and I'm just about to record a demo video of the device in operation.

This will mimic a TTY/paper tape machine so you can load either PTP files or you can upload text files, like BASIC programs.  Not a direct tie in with MS BASIC since that is hard-coded for the cassette interface, but it works mostly well-enough.

Neil Andretti

unread,
May 29, 2025, 12:32:17 PMMay 29
to PAL 6502 computer
I have no idea how far you've gone to the rabbit hole: 
Heres the beginners guide...

Be sure to set the character delay and the line delay in your terminal program. (50/200)

You can easily load a "papertape file" to the PAL by typing L in your terminal and pasting it to teraterm or whatever you use.
To transfer a file to Papertape, use Hans Otten's 8-bit converter.

Example:
You have a HEX file you want to load to your KIM-1 / Pal -1/2 to adress 2000:
Start the 8-bit converter, set the Input File as HEX, the output as MOS papertape, starting adress 2000 and give it a go.
Start the file transfer in the terminal with L, paste the content of the PTP file to the terminal.

Nils

Hans Otten

unread,
May 30, 2025, 6:03:18 AMMay 30
to PAL 6502 computer
The 8 bit converter works with Hex text files (just hex dumps) and Intel Hex text files.
Most assemblers output Intel hex formatted text files. 
Intel hex contains the load address so you do not have to specify the starting address (you may, but if the code was for another location, you can guess it will fail)
For binary files (just pure 8 bit memory dumps) you will have to supply the starting address. 

The KIM-1 Simulator can also be used to convert from any format to any format, it has the same file types as the 8 bit converter. 

John Bischoff

unread,
May 30, 2025, 12:46:33 PMMay 30
to PAL 6502 computer

Thanks for all the suggestion! Will check into them.

John

Reply all
Reply to author
Forward
0 new messages