Search found 1265 matches
- Tue Apr 23, 2024 3:03 pm
- Forum: Games
- Topic: WIP: Bubble Bobble
- Replies: 2
- Views: 68
Re: WIP: Bubble Bobble
Nah. It's impossible to achieve on the VIC. Looking good though.
- Mon Apr 22, 2024 12:52 pm
- Forum: Emulation and Cross Development
- Topic: Small-C running on the VIC – here's how
- Replies: 6
- Views: 211
Re: Small-C running on the VIC – here's how
Good old Dr Dobbs Small-C! A port from a BBC version seems a good fit for the VIC20 - both 32K in normal max memory config. But what you are trying to do is ambitious. Would it also compile on a PC so it can act as a cross compiler? Back in the day, in early BYTE magazines Small-C was advertised by...
- Mon Apr 22, 2024 6:21 am
- Forum: Emulation and Cross Development
- Topic: Small-C running on the VIC – here's how
- Replies: 6
- Views: 211
Re: Small-C running on the VIC – here's how
Oh dude. What a heritage tree. Makes it hard to apply a version number. One repo with all versions in it should be least one could do about it. Could just happen in a minute (minutes v1.0). The BBC thing seems to have very, very useful additions that are dearly missing in the VIC version. * Separate...
- Sun Apr 21, 2024 4:40 pm
- Forum: Emulation and Cross Development
- Topic: Small-C running on the VIC – here's how
- Replies: 6
- Views: 211
Re: Small-C running on the VIC – here's how
You could just port the atari version (which later became cc65) :) News to me. Also just found David Wheeler's 6502 language page which has "news". https://dwheeler.com/6502/ But take a look at this: small-cir2txt.png The tiny C fragment got compiled to byte code at the bottom which the '...
- Sun Apr 21, 2024 4:39 am
- Forum: Emulation and Cross Development
- Topic: Small-C running on the VIC – here's how
- Replies: 6
- Views: 211
Re: Small-C running on the VIC – here's how
Kay. Now it is generating some IR/object kind of thingy. 76 virtual instructions now need to get translated to tested assembly macros. A direct translation to machine code would basically make a linker. That's a hell of a lot of test cases, ideal to be eaten away in small increments as a hobby proje...
- Sun Apr 21, 2024 4:26 am
- Forum: Programming
- Topic: Unixoid VIC
- Replies: 22
- Views: 1538
Re: Unixoid VIC
Happily crashing along while progressing. Found some pleasure in writing docs and am developing a habit of having BLOG files in projects instead of spoiling boards. ;) Found a book about "systems programming" last night, documenting some University lecture. Didn't know its there. But: ther...
- Sat Apr 20, 2024 12:50 pm
- Forum: Emulation and Cross Development
- Topic: Small-C running on the VIC – here's how
- Replies: 6
- Views: 211
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: 625
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: 625
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: 625
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: 625
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: 625
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: 625
- Wed Apr 17, 2024 2:45 am
- Forum: Emulation and Cross Development
- Topic: ASM502 - a new 6502 assembler.. (WIP)
- Replies: 22
- Views: 625
- Tue Apr 16, 2024 4:12 pm
- Forum: Programming
- Topic: Unixoid VIC
- Replies: 22
- Views: 1538
Re: Unixoid VIC
Still not stable enough for the console switcher.