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.
Search found 1068 matches
- Sat Apr 27, 2024 3:13 pm
- Forum: Emulation and Cross Development
- Topic: Small-C running on the VIC – here's how
- Replies: 9
- Views: 467
Re: Small-C running on the VIC – here's how
- Mon Apr 22, 2024 8:28 am
- Forum: Emulation and Cross Development
- Topic: ASM502 - a new 6502 assembler.. (WIP)
- Replies: 22
- Views: 869
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: 9
- Views: 467
Re: Small-C running on the VIC – here's how
You could just port the atari version (which later became cc65)
- Thu Apr 18, 2024 2:53 pm
- Forum: Emulation and Cross Development
- Topic: ASM502 - a new 6502 assembler.. (WIP)
- Replies: 22
- Views: 869
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
- Thu Apr 18, 2024 12:59 pm
- Forum: Emulation and Cross Development
- Topic: ASM502 - a new 6502 assembler.. (WIP)
- Replies: 22
- Views: 869
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: 869
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: 226
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: 869
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: 973
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: 3392
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: 3392
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.
Re: ELITE
The bitmap shouldnt be a problem - you can do that with a charset matrix.
With fully expanded VIC20, porting Elite sounds quite doable to me - still a lot of work, obviously
With fully expanded VIC20, porting Elite sounds quite doable to me - still a lot of work, obviously
- Mon Feb 12, 2024 12:10 pm
- Forum: Collecting and History
- Topic: How to convert Tap files to D64?
- Replies: 11
- Views: 595
Re: How to convert Tap files to D64?
Use TapEX -> https://csdb.dk/release/?id=237663
load the tap, select "extract prg" from the menu, and it creates a directory with all files. For vic20 tapes you will probably have a pretty good success rate
load the tap, select "extract prg" from the menu, and it creates a directory with all files. For vic20 tapes you will probably have a pretty good success rate
- Sun Feb 11, 2024 10:42 am
- Forum: Emulation and Cross Development
- Topic: Corrupt end of basic program
- Replies: 7
- Views: 527
Re: Corrupt end of basic program
Yes. However, if there is a reliable way to reproduce this, i'd still like to knowIt is very unlikely that you found a bug in VICE here.