GideonZ / 1541ultimate

Official GIT archive of 1541 ultimate II sources
GNU General Public License v3.0
181 stars 46 forks source link

Trilogic Expert Cartridge #126

Open billybicep opened 4 years ago

billybicep commented 4 years ago

Currently it isn't possible to use a .crt file of the trilogic expert cartridge. I have also tried a physical cartridge and this doesn't work either. Is this planned to be implemented?

GideonZ commented 4 years ago

Please attach the CRT file of the trilogic cartridge that you have tested, and describe the expected result.

markusC64 commented 4 years ago

@GideonZ : Here are Manuals, Binary files for the ROM and so on: https://rr.pokefinder.org/wiki/Expert_Cartridge That might help to understand the expected behavior. Edit: But no crt :-(

markusC64 commented 4 years ago

And this does look like the missing crt: http://www.planetemu.net/rom/commodore-c64-applications-crt/expert-cartridge-1986-trilogic

billybicep commented 4 years ago

expert_cartridge.zip Expert Cartridge (1986)(Trilogic).zip

here's 2 .crt images.

billybicep commented 4 years ago

The Expert was a little different to other freezer carts as you had to program it each time when powering on the c64. It had a 3 way switch, PRG - OFF - ON. And a reset button. You'd switch the cart to PRG then load up the software, the software would then say 'Switch to ON and press Reset' this would then transfer the loaded up software into the cart and it would stay active until you turned off the C64.

to freeze you then just pressed the Restore key, this would then go straight into a monitor/assemble with lots of commands available for saving, freezing, coding etc.

The 2 images work in VICE (not sure if this is relevant?)

billybicep commented 4 years ago

If i try to load the .crt on the U64 it just says 'Expert cartridge not implemented' . If i try a physical expert cart it just hangs when you move it to ON.

billybicep commented 4 years ago

I know Expert wasnt as popular as Action Replay etc but it was very popular in the UK for hacking and coding, it had an excellent assembler written by J. Twiddy

GideonZ commented 4 years ago

Ahhhh... Okay, now I understand why you said the CRT file wouldn't work. I already found that very peculiar. It is simply not implemented. :-D (Which is not the same as: "It doesn't work..")

The external cart is supposed to work, however. I can see in the schematics that the cart is somewhat 'dirty' in trying to push the NMI line high in some situations, overruling the CIA and restore key. I think that's not very nice and desirable. I'd suggest that an implementation of the Trilogic cart in the FPGA is a way better solution, albeit that it that the external cart should at least work for loading and showing up the menu. Apparently it doesn't and this indeed exposes a bug or timing problem in the U64 bus logic or PLA.

As for the FPGA implementation of the TriLogic cart, I suggest that the CRT file is simply loaded into RAM, and after loading, the "switch" would be in the ON mode. There is no need for the PGM mode. In addition, the freeze function of the U64 can be simply routed to this bit of logic as well. May need some refactoring, as the current freeze function always forces both NMI and IRQ low, like all other freezers do. So the freeze debouncing and flipflop need to be separated from its output. Maybe that is already so. Not being able to push the NMI line high, might actually limit the usability of the cart, as NMI is often used for timers and such.

billybicep commented 4 years ago

I agree that it would be much better in the FPGA, i only tried the physical cart as i was keen to use expert again!

GideonZ commented 4 years ago

I'll see if I can obtain one of those carts, so I can do some tests with it.

On Mon, Jan 13, 2020 at 6:12 PM billybicep notifications@github.com wrote:

I agree that it would be much better in the FPGA, i only tried the physical cart as i was keen to use expert again!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/GideonZ/1541ultimate/issues/126?email_source=notifications&email_token=ACUFDSOJ7V34KSO6QFZS7G3Q5SOHZA5CNFSM4KGDQCZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIZQXLA#issuecomment-573770668, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUFDSPTJUCF362VS4ZKNXTQ5SOHZANCNFSM4KGDQCZQ .

billybicep commented 4 years ago

I have a spare I can send to you if thats easier?

GideonZ commented 4 years ago

That'd be highly appreciated. One thing to make clear: I do not make promises of WHEN I can take a look at it - the list of issues is already quite long.

On Mon, Jan 13, 2020 at 6:14 PM billybicep notifications@github.com wrote:

I have a spare I can send to you if thats easier?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/GideonZ/1541ultimate/issues/126?email_source=notifications&email_token=ACUFDSL6L5JOJYYEYG3I23LQ5SOQ5A5CNFSM4KGDQCZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIZQ7ZI#issuecomment-573771749, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUFDSKTBZD6JELU5B6CL23Q5SOQ5ANCNFSM4KGDQCZQ .

billybicep commented 4 years ago

Thats fine, i understand you must have a lot of requests/issues. I'll send it to the address on your website.

billybicep commented 4 years ago

Expert cartridge has been posted, hopefully should be with you soon.

GideonZ commented 4 years ago

Great! Thank you very much for the update! Seems like I am going to be really really busy!

On Tue, Jan 28, 2020 at 3:41 PM billybicep notifications@github.com wrote:

Expert cartridge has been posted, hopefully should be with you soon.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/GideonZ/1541ultimate/issues/126?email_source=notifications&email_token=ACUFDSLCBYAVL7ICEKQ2WCTRAA72PA5CNFSM4KGDQCZ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKDRGSY#issuecomment-579277643, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUFDSKFCGXGIZBW4WH7CC3RAA72PANCNFSM4KGDQCZQ .

billybicep commented 4 years ago

Expert 210.zip

Expert v2.10 software, this was probably the most stable version they did.