Search found 1075 matches

by groepaz
Sat Jun 08, 2024 5:54 pm
Forum: Hardware and Tech
Topic: Paged EEPROM
Replies: 22
Views: 1120

Re: Paged EEPROM

the register map of FE3 surely is less complicated than the one of Ultimem. I just skimmed over the docs for both and find the Ultimem one much easier to grasp. FE3 is certainly more complicated. Ultimem seems straightforward and everything makes sense on first look. It also seems to be much more f...
by groepaz
Sat Jun 08, 2024 12:50 pm
Forum: Hardware and Tech
Topic: 16 luminance levels
Replies: 7
Views: 299

Re: 16 luminance levels

My last effort to get anything done in wikipedia was the german "Rasterzeileninterrupt" article (have a look at the discussion pages for LOTS of WTF)
by groepaz
Fri Jun 07, 2024 10:11 am
Forum: Hardware and Tech
Topic: 16 luminance levels
Replies: 7
Views: 299

Re: 16 luminance levels

Very likely, that once had been a conclusion by analogy as the first VIC-II revision in the C64 actually only had 5 luminance levels and someone thought it must have been the same with VIC-I.
That would be my guess as well.

Hooray for original research \o/
by groepaz
Wed May 15, 2024 6:52 am
Forum: Emulation and Cross Development
Topic: TUNIX
Replies: 32
Views: 2928

Re: TUNIX

Damn Lisp.... :) There also was a Lisp implementation Input64 mag, if you want to look at it :)
by groepaz
Mon Apr 29, 2024 5:41 pm
Forum: Programming
Topic: 3D Stars
Replies: 14
Views: 2292

Re: 3D Stars

Unless you cheat and use pretend 3D
Even then really, far from trivial.
by groepaz
Mon Apr 29, 2024 9:28 am
Forum: Programming
Topic: 3D Stars
Replies: 14
Views: 2292

Re: 3D Stars

This isn't trivial to do even in assembly :)
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: 17
Views: 3037

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: 17
Views: 3037

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

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: 17
Views: 3037

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

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

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

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

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

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...