Search found 1069 matches

by groepaz
Sun Apr 28, 2024 12:54 pm
Forum: Emulation and Cross Development
Topic: Small-C running on the VIC – here's how
Replies: 10
Views: 506

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.
by groepaz
Sat Apr 27, 2024 3:13 pm
Forum: Emulation and Cross Development
Topic: Small-C running on the VIC – here's how
Replies: 10
Views: 506

Re: Small-C running on the VIC – here's how

IMHO 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.
Hopefully you never write any software that someone else has to work with :?
by groepaz
Mon Apr 22, 2024 8:28 am
Forum: Emulation and Cross Development
Topic: ASM502 - a new 6502 assembler.. (WIP)
Replies: 22
Views: 876

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...
by groepaz
Sun Apr 21, 2024 10:25 am
Forum: Emulation and Cross Development
Topic: Small-C running on the VIC – here's how
Replies: 10
Views: 506

Re: Small-C running on the VIC – here's how

You could just port the atari version (which later became cc65) :)
by groepaz
Thu Apr 18, 2024 2:53 pm
Forum: Emulation and Cross Development
Topic: ASM502 - a new 6502 assembler.. (WIP)
Replies: 22
Views: 876

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 :)
by groepaz
Thu Apr 18, 2024 12:59 pm
Forum: Emulation and Cross Development
Topic: ASM502 - a new 6502 assembler.. (WIP)
Replies: 22
Views: 876

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
by groepaz
Thu Apr 18, 2024 11:40 am
Forum: Emulation and Cross Development
Topic: ASM502 - a new 6502 assembler.. (WIP)
Replies: 22
Views: 876

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 ...
by groepaz
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)?
by groepaz
Wed Apr 17, 2024 8:49 am
Forum: Emulation and Cross Development
Topic: ASM502 - a new 6502 assembler.. (WIP)
Replies: 22
Views: 876

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...
by groepaz
Mon Mar 18, 2024 10:33 am
Forum: Emulation and Cross Development
Topic: Using Exomizer
Replies: 13
Views: 1174

Re: Using Exomizer

I'd rather use some simple RLE packer for the first block though (and perhaps tscrunch for the final step)
by groepaz
Fri Mar 08, 2024 9:08 am
Forum: Emulation and Cross Development
Topic: Assembler
Replies: 38
Views: 4389

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...
by groepaz
Thu Mar 07, 2024 3:35 pm
Forum: Emulation and Cross Development
Topic: Assembler
Replies: 38
Views: 4389

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.
by groepaz
Tue Mar 05, 2024 4:47 am
Forum: Games
Topic: ELITE
Replies: 5
Views: 894

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.
by groepaz
Mon Mar 04, 2024 6:58 pm
Forum: Games
Topic: ELITE
Replies: 5
Views: 894

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 :)
by groepaz
Mon Feb 12, 2024 12:10 pm
Forum: Collecting and History
Topic: How to convert Tap files to D64?
Replies: 11
Views: 778

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 :)