Electronics > FPGA

Replicating a 'custom' 6800 in FPGA

<< < (16/17) > >>

I just assembled the source code with as11 , no issue at all.


--- Code: ---./as11 S00060G.asm -l >S00060G-11.lst

--- End code ---

If you are "lucky" (HC11 ressources) you might be able to use the HC11 as Timer and PIA

Nice HC11 site

Really?! That version compiled with no hiccups?! Cool! (considering I did NOT use a standard assembler to make that version)

That would be awesome if I could combine the PIA and PTM into the HC11...
All three timers in the PTM are used (one is used as an internal programmable delay, the second drives the _NMI line, and the third is XOR'd with the outgoing data stream).

I know of a board that was part of this system that probably did just that, but I have not been able to track down the particulars of the HC11 that was used in that role.
I'm guessing it too was a custom variant (it was a 68-pin PLCC whereas pretty much all the remaining HC11s available are 52-pin PLCC).

Anyway, I want to see if I understand correctly how to connect the HC11 in 'expanded' mode - here's a schematic I worked out for an "adapter".

Remember ... That it assembles the source , doesn't mean it will work w. the HC11 internal timers etc.
You would need to "decode" the timer & PIA usage , and replicate that w. HC11 "internals"
I even think it created a 100% equal .bin file  HC11 vs "Original bin"

This one might come in handy to understand the Timer ... The DS is a bit cryptic i think.

I'm not an EE , just a hobby'ist.
The electrical design should be reviwed by someone else.

Good info

HW Inspiration



Non mux'ed

Edit: You do know the HC573 is a 373 with a much nicer pin layout



--- Quote from: bingo600 on September 29, 2021, 05:23:36 am ---Remember ... That it assembles the source , doesn't mean it will work w. the HC11 internal timers etc.

--- End quote ---

Quite right of course. And with that said, although the CPU the OP is trying to replace supports the 6801 instruction set, nothing tells us that it acts as one either - be it for cycle-accuracy, interrupts, and so on...

If clocked by 1MHz as the 01' , and given that the Binaries were "equal" i'd expect the normal instructions to execute 1:1
IRQ could push a bit more or less , but that's prob. not an issue.



[0] Message Index

[#] Next page

[*] Previous page

There was an error while thanking
Go to full version