Poster | Thread |
zara
|  |
In need of a C compiler on floppy Posted on 15-Aug-2025 23:04:01
| | [ #1 ] |
|
|
 |
Member  |
Joined: 26-Nov-2022 Posts: 16
From: Unknown | | |
|
| Hi,
I cannot get off my Amiga 500, I have a USB floppy drive on my Windows 11 machine but I cannot mount any ADOS FFS floppies.
I thought to buy a SDbox v2 to use its FAT32 filesystem.
Then again, I'd like to ask if someone could send me a floppy of a A500 C compiler. I'd adequately pay for it. Else I'd have to program it in AmigaBASIC. |
|
Status: Offline |
|
|
OneTimer1
|  |
Re: In need of a C compiler on floppy Posted on 16-Aug-2025 12:46:57
| | [ #2 ] |
|
|
 |
Super Member  |
Joined: 3-Aug-2015 Posts: 1306
From: Germany | | |
|
| @zara
Quote:
zara wrote:
I have a USB floppy drive on my Windows 11 machine but I cannot mount any ADOS FFS floppies.
|
Ever thought to build / buy Drawbridge: https://amiga.robsmithdev.co.uk/
Quote:
zara wrote:
I thought to buy a SDbox v2 to use its FAT32 filesystem.
|
I haven't looked to much into this specific solution, but it seems OK, there where only a few C / compilers for Amiga that could be used with a single floppy system but most of them where replaced by better and bigger successors.
Other possibilities to get Amiga files from or to PC are using a serial cable, USB2Serial adapters for PCs are cheap.
One of the smallest C compilers for Amiga was the DICE C compiler:
https://apollo.backplane.com/FreeSrc/
Last edited by OneTimer1 on 16-Aug-2025 at 12:51 PM.
|
|
Status: Offline |
|
|
zara
|  |
Re: In need of a C compiler on floppy Posted on 17-Aug-2025 14:00:09
| | [ #3 ] |
|
|
 |
Member  |
Joined: 26-Nov-2022 Posts: 16
From: Unknown | | |
|
| @OneTimer1
Quote:
Looks good but it's an enormous hardware hack for me.
Quote:
I haven't looked to much into this specific solution, but it seems OK, there where only a few C / compilers for Amiga that could be used with a single floppy system but most of them where replaced by better and bigger successors.
|
I work on WB 1.3 and 2.05, could you give me a binary for these ? Even if it was boxed or something in the 80-90ies.
Quote:
Other possibilities to get Amiga files from or to PC are using a serial cable, USB2Serial adapters for PCs are cheap.
|
How do I use these in WB 1.3 ? I have the kernel hacking ROM Amiga books, but I guess I cannot do this hack on a serial port in AmigaBASIC.
Quote:
Is 2.6 Mb on the sources though. |
|
Status: Offline |
|
|
OneTimer1
|  |
Re: In need of a C compiler on floppy Posted on 18-Aug-2025 8:42:23
| | [ #4 ] |
|
|
 |
Super Member  |
Joined: 3-Aug-2015 Posts: 1306
From: Germany | | |
|
| @zara
Quote:
zara wrote:
I work on WB 1.3 and 2.05, could you give me a binary for these ? Even if it was boxed or something in the 80-90ies.
How do I use these in WB 1.3 ? I have the kernel hacking ROM Amiga books, but I guess I cannot do this hack on a serial port in AmigaBASIC.
|
Here is an tutorial:
https://www.amigalove.com/viewtopic.php?t=15
The most important part is where you configure COM: on PC and SER: on Amiga to the same values, the serial device in Amiga is configured under the preferences menu in your workbench.
Then you should prepare an Amiga floppy and name it CCOMP:
You could copy now files from the PC over its COM: port over the SER: device on Amiga to its disk using, on the Amiga you should use the command to receive a file named "filename"
"type SER: to CCOMP:filename"
Quote:
Quote:
Is 2.6 Mb on the sources though. |
I hoped they had a small executable, please don't ask for the sources, as you can't translate the sources without a compiler.
Try this: https://aminet.net/dev/c/FreeDice.lha
I need some information about you and your system: How many RAM has your Amiga? Are you an experienced Amiga/PC user who knows how tho work under a CLI/CMD? Do you have some experience with Amiga tools, like LHA or others?
You made need an LHA packer under Amiga ( https://aminet.net/util/arc/lha.run ) or on the PC for unpacking the FreeDice.lha file if your Amiga has only 512 kb RAM this could become a a cumbersome process.
You may decompress the archive on you PC before copying it to the Amiga: http://www.e7z.org/open-lzh-lha.htm
There where some other compilers around, that might work under AOS1.3 on single disk: https://aminet.net/package/misc/fish/fish-0508 Copying a complete Amiga installation of a C-Compiler to an Amiga single disk systems only using floppies could be a real pain, you might need to copy the lha file to floppy first and decompress it to another floppy.
That's why a lot of people are using Emulators today: https://medium.com/@8bitsten/start-with-c-programming-on-amiga-1e8312cec2db
Here is a file transfer program that can be used on a PC to transfere files to an Amiga using its build in monitor: https://github.com/rvalles/pyamigadebug --------
Rant about Forum
I don't have a working AOS1.3 system running here and I hoped those others who claim to have much more knowledge than me would stand up and help you ...Last edited by OneTimer1 on 18-Aug-2025 at 09:11 AM. Last edited by OneTimer1 on 18-Aug-2025 at 08:54 AM. Last edited by OneTimer1 on 18-Aug-2025 at 08:52 AM.
|
|
Status: Offline |
|
|
dalek
|  |
Re: In need of a C compiler on floppy Posted on 19-Aug-2025 1:41:12
| | [ #5 ] |
|
|
 |
Member  |
Joined: 7-Jun-2017 Posts: 29
From: Unknown | | |
|
| @zara
Do you have a Gotek? I think this should be your first investment. It will allow you to use virtual floppies via USB and these images can be updated with DiskFlashBack on Windows:
https://robsmithdev.co.uk/diskflashback
Or you can mount the same .adf image files in WinUAE as you are using on your real Amiga.
Then you can easily back up your work.
You can get a cheap Gotek on Aliexpress and then flash Flashfloppy on to it:
https://github.com/keirf/flashfloppy/wiki
If you also get an external gotek adapter then you can write your .adf images back to floppy and create your own C compiler real floppy disk if that's what you want to do.
After that some mass storage like the SDBox v2 or an IDE add-on would be helpful to you.
But working with real floppies in 2025 is a pain - save yourself the headache and start your development in WinUAE until you are comfortable enough to move to real hardware. Last edited by dalek on 19-Aug-2025 at 01:43 AM.
|
|
Status: Offline |
|
|
zara
|  |
Re: In need of a C compiler on floppy Posted on 24-Aug-2025 7:26:36
| | [ #6 ] |
|
|
 |
Member  |
Joined: 26-Nov-2022 Posts: 16
From: Unknown | | |
|
| Thanks for the many links. Very helpful.
I just ordered a SDBox v2. I will use that for transferring between DOS and ADOS.
I really like the COM: to SER: device write. I didn't know.
Thanks again ! Zara
|
|
Status: Offline |
|
|