Search found 1274 matches
- Sat Apr 20, 2024 12:50 pm
- Forum: Emulation and Cross Development
- Topic: Small-C running on the VIC – here's how
- Replies: 12
- Views: 724
Small-C running on the VIC – here's how
Small-C ran on the Intel 8080, 8085, 6809, 68000, VAX and I might be missing one or two other CPUs. It can handle a subset of the C programming language, but the best part of it all: that subset is powerful enough to have Small-C compile itself. That's what I want on the VIC. I have refurbished the ...
- Fri Apr 19, 2024 10:49 am
- Forum: Emulation and Cross Development
- Topic: ASM502 - a new 6502 assembler.. (WIP)
- Replies: 22
- Views: 2763
Re: ASM502 - a new 6502 assembler.. (WIP)
Pfff. Beginners. My 6502 assembler https://github.com/SvenMichaelKlose/TMA/tree/master/EXAMPLES/GENESIS written with my self-hosting x86 assembler https://github.com/SvenMichaelKlose/TMA . 8) EDIT: Just remembered my first 8086 assembler: it was written in gwbasic on an IBM-XT. The "assembler&q...
- Fri Apr 19, 2024 8:23 am
- Forum: Emulation and Cross Development
- Topic: ASM502 - a new 6502 assembler.. (WIP)
- Replies: 22
- Views: 2763
Re: ASM502 - a new 6502 assembler.. (WIP)
SmallC with 6502 backend using assembly macros but with no optimization whatsoever.
- Fri Apr 19, 2024 2:15 am
- Forum: Emulation and Cross Development
- Topic: ASM502 - a new 6502 assembler.. (WIP)
- Replies: 22
- Views: 2763
Re: ASM502 - a new 6502 assembler.. (WIP)
No, I mean 'lcc' is worth a look if interested in compiler design. I'd port Small-C to run natively if I could (for TUNIX).
- Thu Apr 18, 2024 2:48 pm
- Forum: Emulation and Cross Development
- Topic: ASM502 - a new 6502 assembler.. (WIP)
- Replies: 22
- Views: 2763
Re: ASM502 - a new 6502 assembler.. (WIP)
cc65 cant really do more than it does now (peephole optimizations) - it has to be rewritten to use an IR first - acqn has been working on it iirc, check his repos There's just so much stuff that should've never been written manually, it looks easier to port lcc to 6502 (Latest version is worth a lo...
- Thu Apr 18, 2024 12:43 pm
- Forum: Emulation and Cross Development
- Topic: ASM502 - a new 6502 assembler.. (WIP)
- Replies: 22
- Views: 2763
Re: ASM502 - a new 6502 assembler.. (WIP)
What i i really would like to see would be something similar, which can suggest alternative instructions (ie undocumented opcodes) for certain code sequences - because those things are often not obvious. That would even be nice without undocumented ones. I'd break them down into a bit-level IR and ...
- Wed Apr 17, 2024 2:24 pm
- Forum: Emulation and Cross Development
- Topic: ASM502 - a new 6502 assembler.. (WIP)
- Replies: 22
- Views: 2763
- Wed Apr 17, 2024 2:45 am
- Forum: Emulation and Cross Development
- Topic: ASM502 - a new 6502 assembler.. (WIP)
- Replies: 22
- Views: 2763
- Tue Apr 16, 2024 4:12 pm
- Forum: Programming
- Topic: Unixoid VIC
- Replies: 23
- Views: 5835
Re: Unixoid VIC
Still not stable enough for the console switcher.
- Tue Apr 16, 2024 9:58 am
- Forum: Emulation and Cross Development
- Topic: ASM502 - a new 6502 assembler.. (WIP)
- Replies: 22
- Views: 2763
Re: ASM502 - a new 6502 assembler.. (WIP)
You're right. There are enough assemblers nobody uses already. ;) I like it for being small and written in C. And the parsing part with expressions. What I do not like is that the code *looks* unstructured and could be readable better (after a treatment with dos2unix and "indent -kr -i4")....
- Tue Apr 16, 2024 6:01 am
- Forum: Programming
- Topic: Unixoid VIC
- Replies: 23
- Views: 5835
Re: Unixoid VIC
The virtual console is a thing of surprising simplicity but the kernel isn't ready for it as the tests aren't thorough enough. That's why TUNIX is now a C program which suddenly decides to become a kernel. Jim Brain said that he'd bring on another stash of UltiMems, but to make them affordable about...
- Sat Apr 13, 2024 12:55 am
- Forum: Programming
- Topic: Unixoid VIC
- Replies: 23
- Views: 5835
Re: Unixoid VIC
Now for messing this up with an interrupt handler..
- Tue Apr 09, 2024 10:12 am
- Forum: Programming
- Topic: Unixoid VIC
- Replies: 23
- Views: 5835
Re: Unixoid VIC
tunix-breakerror.png It LOADs but OPEN brings random BASIC errors out of nowhere (STATUS = 0). That's an inconvenience for BASIC coders. Time for the console switcher unless you want to do switches like this: OPEN31,31,0,"GM" (multi-tasking off) OPEN31,31,0,"PF" (fork new BASIC ...
- Sun Apr 07, 2024 5:15 am
- Forum: Programming
- Topic: Unixoid VIC
- Replies: 23
- Views: 5835
Re: Unixoid VIC
Syscalls (via OPEN) can be nested. That's great news. Task switches work in BASIC but there's still no working LOAD but many solutions to the problem. The required boot loader won't kill any existing boot menus. As that's extra work I started the ROM in C (copies itself to RAM on startup) the Unix w...
- Wed Apr 03, 2024 4:09 am
- Forum: Games
- Topic: In the making: Arukanoido – an Arkanoid clone
- Replies: 600
- Views: 161729
Re: In the making: Arukanoido – an Arkanoid clone
There was more than one price to pay for that and not worth the result yet.