Search found 1067 matches

by groepaz
Mon Apr 22, 2024 8:28 am
Forum: Emulation and Cross Development
Topic: ASM502 - a new 6502 assembler.. (WIP)
Replies: 22
Views: 624

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: 6
Views: 201

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

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

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

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

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

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

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

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

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

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

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

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 :)
by groepaz
Sun Feb 11, 2024 10:42 am
Forum: Emulation and Cross Development
Topic: Corrupt end of basic program
Replies: 7
Views: 284

Re: Corrupt end of basic program

It is very unlikely that you found a bug in VICE here.
Yes. However, if there is a reliable way to reproduce this, i'd still like to know :)
by groepaz
Wed Feb 07, 2024 4:37 pm
Forum: Programming
Topic: Resetting IRQs
Replies: 10
Views: 362

Re: Resetting IRQs

I'd just ask Krill to port his loader... 8)