https://github.com/turkishrational/scc
Small C Compiler (Hendrix) for TRDOS 386 Operating System (+ Win32 Console)
https://github.com/turkishrational/scc
32bit 386dos c cc ccompiler compiler console fasm hendrix scc simple simplec small smallc trdos386 win32
Last synced: about 2 months ago
JSON representation
Small C Compiler (Hendrix) for TRDOS 386 Operating System (+ Win32 Console)
- Host: GitHub
- URL: https://github.com/turkishrational/scc
- Owner: turkishrational
- Created: 2024-09-24T13:12:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2026-04-08T16:08:16.000Z (2 months ago)
- Last Synced: 2026-04-08T17:36:02.103Z (2 months ago)
- Topics: 32bit, 386dos, c, cc, ccompiler, compiler, console, fasm, hendrix, scc, simple, simplec, small, smallc, trdos386, win32
- Language: Assembly
- Homepage:
- Size: 15.8 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.TXT
Awesome Lists containing this project
README
***Notes on compiling the TRDOS 386 version of the Small C Compiler
using the compiler itself (self-compilation)***
Required systems:
1) TRDOS 386 Floppy or Disk to run on real computer or emulator
2) Windows or Linux operating system to generate SCC.PRG using FASM compiler.
(Because ASM outputs are in FASM syntax)
Compile the following (TRDOS 386 compatible) C files
Using SCC.PRG on TRDOS 386 operating system (floppy disk or disk):
('cc.h', 'stdio.h' and 'notice.h' must be in the same directory)
> scc cc1.c
> scc cc2.c
> scc cc3.c
> scc cc4.c
> scc libstd.c
> scc getarg.c (not required, original GETARG.ASM can be used)
and then move SCC's ASM output files to a directory
which includes
FASM.EXE (windows program)
SCC.ASM (TRDOS 386 version)
INTRINS.ASM
(GETARG.ASM) files
(precompiled files: CC1.ASM,CC2.ASM,CC3.ASM,CC4.ASM,LIBSTD.ASM)
Later...
to use
> FASM SCC.ASM to create SCC.BIN
and finally rename SCC.BIN to SCC.PRG.
Erdogan Tan - 24/09/2024