Even then really, far from trivial.Unless you cheat and use pretend 3D
Search found 1071 matches
- Mon Apr 29, 2024 5:41 pm
- Forum: Programming
- Topic: 3D Stars
- Replies: 14
- Views: 826
Re: 3D Stars
- Mon Apr 29, 2024 9:28 am
- Forum: Programming
- Topic: 3D Stars
- Replies: 14
- Views: 826
Re: 3D Stars
This isn't trivial to do even in assembly ![Smile :)](./images/smilies/icon_smile.gif)
![Smile :)](./images/smilies/icon_smile.gif)
- Sun Apr 28, 2024 12:54 pm
- Forum: Emulation and Cross Development
- Topic: Small-C running on the VIC – here's how
- Replies: 12
- Views: 1287
Re: Small-C running on the VIC – here's how
I'm not complaining at all. It's just a pretty silly thing to say. Especially about cc65 - it's neither "bloated" nor is it excessively commented. Quite the contrary is true - It's actually lacking a lot in that area.
- Sat Apr 27, 2024 3:13 pm
- Forum: Emulation and Cross Development
- Topic: Small-C running on the VIC – here's how
- Replies: 12
- Views: 1287
Re: Small-C running on the VIC – here's how
Hopefully you never write any software that someone else has to work withIMHO comments should be used exclusively if the life of a developer depends on them but at least never tell what the code is already screaming about.
![Confused :?](./images/smilies/icon_confused.gif)
- Mon Apr 22, 2024 8:28 am
- Forum: Emulation and Cross Development
- Topic: ASM502 - a new 6502 assembler.. (WIP)
- Replies: 22
- Views: 3731
Re: ASM502 - a new 6502 assembler.. (WIP)
the Small-C type compilers often seem to convert byte-arithmetic to 16 bits (via virtual ZP registers) for work, converting back to BYTE at the end - which is very inefficient. One reason for that are the integer promotion rules of C though. I'd expect most c-compilers doing this actually - just th...
- Sun Apr 21, 2024 10:25 am
- Forum: Emulation and Cross Development
- Topic: Small-C running on the VIC – here's how
- Replies: 12
- Views: 1287
Re: Small-C running on the VIC – here's how
You could just port the atari version (which later became cc65) ![Smile :)](./images/smilies/icon_smile.gif)
![Smile :)](./images/smilies/icon_smile.gif)
- Thu Apr 18, 2024 2:53 pm
- Forum: Emulation and Cross Development
- Topic: ASM502 - a new 6502 assembler.. (WIP)
- Replies: 22
- Views: 3731
Re: ASM502 - a new 6502 assembler.. (WIP)
Yeah good luck
What makes cc65 strong is the library and its ecosystem anyway, and if you rely on the optimizer of a 8bit compiler, you are doing it wrong ![Smile :)](./images/smilies/icon_smile.gif)
![Smile :)](./images/smilies/icon_smile.gif)
![Smile :)](./images/smilies/icon_smile.gif)
- Thu Apr 18, 2024 12:59 pm
- Forum: Emulation and Cross Development
- Topic: ASM502 - a new 6502 assembler.. (WIP)
- Replies: 22
- Views: 3731
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
- Thu Apr 18, 2024 11:40 am
- Forum: Emulation and Cross Development
- Topic: ASM502 - a new 6502 assembler.. (WIP)
- Replies: 22
- Views: 3731
Re: ASM502 - a new 6502 assembler.. (WIP)
In general, with user-written code, an assembler will not have a good idea about these conditions. It amounts to execute arbitrary code already in the assembler which, IMO, is not its job. Peephole optimization is well possible in an assembler. Actually Daniel Dallmann (Lunix) wrote such optimizer ...
- Wed Apr 17, 2024 11:55 am
- Forum: Hardware and Tech
- Topic: Switchless NTSC<->PAL
- Replies: 2
- Views: 1879
Re: Switchless NTSC<->PAL
Couldn't you make it generate the reset signal as well (would require a patch cable of ofcourse)?
- Wed Apr 17, 2024 8:49 am
- Forum: Emulation and Cross Development
- Topic: ASM502 - a new 6502 assembler.. (WIP)
- Replies: 22
- Views: 3731
Re: ASM502 - a new 6502 assembler.. (WIP)
I would love if someone made a small assembler like ASM502 for the ARM, targeting the pi, android, Arduino, blue pill etc, so you didn't have to run an SDK full of bugs taking a gigabyte or more.. Just build GAS for ARM? For all those modern CPUs it really doesn't make a lot of sense to make a cust...
- Mon Mar 18, 2024 10:33 am
- Forum: Emulation and Cross Development
- Topic: Using Exomizer
- Replies: 13
- Views: 2015
Re: Using Exomizer
I'd rather use some simple RLE packer for the first block though (and perhaps tscrunch for the final step)
- Fri Mar 08, 2024 9:08 am
- Forum: Emulation and Cross Development
- Topic: Assembler
- Replies: 38
- Views: 6386
Re: Assembler
I forgot the most valuable advice for this kind of question: use whatever the people you can ask use. It doesn't really really matter if you use dasm or 64tass or acme or any other of the popular ones (their feature set is very similar) - but it helps a lot if you can throw some quick questions at s...
- Thu Mar 07, 2024 3:35 pm
- Forum: Emulation and Cross Development
- Topic: Assembler
- Replies: 38
- Views: 6386
Re: Assembler
I recommend ACME as a simple straightforward assembler. While CA65 is really great, its mostly aimed at experienced users and huge projects. ACME or 64tass are more like traditional assemblers, and probably easier to get started with.
Re: ELITE
I'd just do what pretty much became the standard in recent days for (larger) C64 games too: use a cartridge. That eliminates all concerns with memory.