Search found 98 matches

by fhw72
Fri Aug 22, 2025 8:41 pm
Forum: Programming
Topic: CRC32 with "nibble" table
Replies: 35
Views: 4958

Re: CRC32 with "nibble" table

That's no time at all in this space.

My initial reason for making it is I needed a way to compare operating systems on different disk images. So i was looking for a "nearly instant" checksum on 256 byte blocks. I did actually consider CRC32, but for one a 32 bit checksum on 256 bytes seems like ...
by fhw72
Fri Aug 01, 2025 6:32 am
Forum: Hardware
Topic: 6702 dissection
Replies: 18
Views: 6668

Re: 6702 dissection

I finally built a replacement of the Dongle card but used a C64 to test it:

The variants: Original, CPLD version, possible remake with DIL-replacement:
Dongle_3.jpg
Test sequence output after reset:
Dongle_2.jpg
Test hardware:
Dongle_1.jpg
Case closed. Finally
by fhw72
Sat Jun 14, 2025 4:27 pm
Forum: Programming
Topic: CRC32 with "nibble" table
Replies: 35
Views: 4958

Re: CRC32 with "nibble" table

BB8 wrote:
I did the test already: in the Vice screenshots you can see the memory dump via "m fb fe" and the result is 17 d1 33 f8 (those variable are in little-endian order), and it checks with OP's "$F833D117"
@BB8: What assembler did you use to translate your file?
by fhw72
Sat Jun 14, 2025 4:04 pm
Forum: Programming
Topic: CRC32 with "nibble" table
Replies: 35
Views: 4958

Re: CRC32 with "nibble" table

Dr Jefyll wrote:
Wow -- this is remarkable, BB8!

Will you (or someone else) have a chance to actually compute some checksums and see if the results are as expected?
-- Jeff
It's actually the checksum of the BASIC rom.
by fhw72
Thu Jun 12, 2025 4:28 pm
Forum: Programming
Topic: CRC32 with "nibble" table
Replies: 35
Views: 4958

Re: CRC32 with "nibble" table

I'm away until Saturday but I'll try to realize @Jeff proposal.
Nice challenge
by fhw72
Wed Jun 11, 2025 7:52 pm
Forum: Programming
Topic: CRC32 with "nibble" table
Replies: 35
Views: 4958

Re: CRC32 with "nibble" table

@BB8:

I took your idea and did it on C code...

uint32_t calcCRC32_Nib(uint8_t crcReg[8], const uint8_t* buffer, uint32_t size)
{
static const uint32_t crcTable7[] = {0x0, 0x1, 0x3, 0x2, 0x7, 0x6, 0x4, 0x5, 0xE, 0xF, 0xD, 0xC, 0x9, 0x8, 0xA, 0xB};
static const uint32_t crcTable6[] = {0x0, 0xD ...
by fhw72
Fri Jun 06, 2025 4:52 pm
Forum: Hardware
Topic: 6702 dissection
Replies: 18
Views: 6668

Re: 6702 dissection

Although no one really needs it... a replacement is here:
Front.jpg
by fhw72
Fri Feb 16, 2024 1:18 pm
Forum: Hardware
Topic: 8521 dissection
Replies: 61
Views: 15088

Re: 8521 dissection


Was this how the above explanation was meant, or is this unexpected? If the latter, could this work out differently on different CIA models perhaps?

Maybe we will take a look at that as soon as the 6526 has been vectorized and dissected. But this may take some time... if not years until this ...
by fhw72
Sat Sep 30, 2023 9:35 am
Forum: Hardware
Topic: From the vaults: MOS 6522 problems and corrections
Replies: 1
Views: 3308

From the vaults: MOS 6522 problems and corrections

Hi @ll,

maybe this one is interesting for some of you:

MOS internal Documentation about 6522 problems and possible corrections (that were never made).
MCS6522_Problems_and_corrections.pdf
(643.44 KiB) Downloaded 115 times
Please excuse the slightly too small scan. I don't have a Scanner for this paper format (yet).

/Frank
by fhw72
Wed Jul 26, 2023 9:23 am
Forum: Hardware
Topic: OT: Amiga 8364R7 Paula dissection
Replies: 24
Views: 8335

Re: OT: Amiga 8364R7 Paula dissection

That's all for now.
Now to take a break, because that Paula dissection was pretty intense.
Rockwell R6545 is next

While 'ttlworks' takes his much deserved break I'll proceed vectorizing the R6545.

In order to give a short glimpse about the current state:

R6545.jpg

I've been drawing every ...
by fhw72
Sun Jun 11, 2023 10:45 am
Forum: Hardware
Topic: list of chip dissections
Replies: 26
Views: 32478

Re: list of chip dissections

ttlworks wrote:
(planned) MOS 6572R1 C64 VIC-II PAL-N latest revision
The microscopic pictures of the 6572R1 are ready...

https://cdn.knightlab.com/libs/juxtapos ... 95d9b17862
by fhw72
Wed May 17, 2023 9:57 am
Forum: Hardware
Topic: Unknown and short-lived MOS6522 Revision 1 (vs. Rev. 0)
Replies: 2
Views: 1218

Unknown and short-lived MOS6522 Revision 1 (vs. Rev. 0)

Some time ago someone pointed out that (contrary to my belief that there's only one revision of the VIA / 6522 (i.e. Rev. 0))
MOS also produced a 2nd version "R1" for a short period of time (around 1988) but resumed using the Rev. 0 layout:

VIAs.jpg

One can distinguish the revision by looking at ...
by fhw72
Fri Mar 10, 2023 8:43 am
Forum: Nostalgia
Topic: The 6502 Rotate Right Myth
Replies: 18
Views: 12100

Re: The 6502 Rotate Right Myth

BigEd wrote:
I might need to rewatch the video. Evidently there's a rev A photomicrograph which I don't think I've seen. Edit: it's here.
Please note that the photograph of the Rev.A contains some errors/tearing.
by fhw72
Wed Mar 08, 2023 1:19 pm
Forum: Nostalgia
Topic: The 6502 Rotate Right Myth
Replies: 18
Views: 12100

Re: The 6502 Rotate Right Myth

Thanks - that's an interesting video from TubeTime, and is thoughtful and analytical despite the title.

The conclusion is that the circuitry needed to implement ROR is missing from the first revisions of the chip: that's not a bug, it's a decision. And there was evidently then a reversal of the ...
by fhw72
Thu Dec 22, 2022 10:25 am
Forum: Hardware
Topic: 5719 dissection //partially offtopic
Replies: 18
Views: 2122

Re: 5719 dissection //partially offtopic

All very good work, well done!

If you have to guess which are NMOS and which PMOS transistors, you'll usually find the PMOS are larger/stronger with a wider channel (which is to say, longer poly gate).

Yes. These are the two criteria I use to distinguish them:

1. Size/Width
2. Connection to GND ...