I'm working with an old Macintosh SE and with a modern computer. I've managed to establish a communication between the two linking the USB serial of my modern computer to the modem serial port of the Macintosh, and I can send files to the Macintosh from my modern PC. For now I have tried with text files since those can be opened in the Macintosh and it seems to be working. Now, I wanna send an executable compiled in my modern PC using retro68. Unfortunately, I can't make it work, the Macintosh throws an error saying the executable is damaged.
I'm trying to understand how old mac executable files work and why they appear to be 0 sized in my modern PC. The retro68 toolchain builds a .dsk file, a .bin file, a .bin.gdb file, as well as some other 0 sized files. I tried sending the .bin and the .bin.gdb and none of them could run in the Macintosh.
Does anyone know how to proceed ?
PS : When I mount the .dsk file in my modern PC and display its content, I can see a single 0 sized file. But when I mount the .dsk in an emulator (PCE-MacPlus), it loads perfectly and I can see and run the executable it contains (Which btw is a simple HelloWorld program I wrote), also it appears in the finder to have a non zero size. I wish I could understand how these binaries work.