• Our new ticketing site is now live! Using either this or the original site (both powered by TrainSplit) helps support the running of the forum with every ticket purchase! Find out more and ask any questions/give us feedback in this thread!

Class 365 PBC Unit and PIS system

Status
Not open for further replies.

WMasterJedi

Member
Joined
23 Nov 2023
Messages
282
Location
England
Handy and slightly annoying realisation is that I didn't need to reverse engineer the boot up part of the program ROM to bypass the checksum self tests. At the bottom of each database (split down the middle but stored as one ROM) there are two bytes which are simply the sum of all bytes (apart from those two). This also applies to the internal display ROM too!
 
Sponsor Post - registered members do not see these adverts; click here to register, or click here to log in
R

RailUK Forums

WMasterJedi

Member
Joined
23 Nov 2023
Messages
282
Location
England
Using a new new de-soldering tool that I've acquired, I've been able to de-solder and remove the old UV EPROM 27HC256 inside the main internal display and replace it with a socket. This has allowed me to install a W27C512 Electrically Erasable PROM. I've done this so then it will be easily reprogrammable and to keep it running for longer.

The new EEPROM is actually 512K instead of the original 256K and uses an extra address line pin due to this, however the pinout is identical apart from the VPP pin being changed for this new address pin. The VPP pin, which is used for programming, is constantly tied to the 5V. The result of this is that when the CPU tries to access data, it will always read the second 256K half.
A simple fix for this is creating a blank 256K header before the program data. The normal address pins act like normal but shifted by 256K in the data due to the constantly high A15 pin. But because the data is now shifted by 256K it negates this effect.
socket1.jpgsocket2.jpgsocket3.jpg


Here you can see I've changed the startup message from the original "BRB Class 465".
Using the checksum calculation method as previously stated, I also recalculated the checksum to avoid a startup failure.

And success!
365mes.jpg
 

WMasterJedi

Member
Joined
23 Nov 2023
Messages
282
Location
England
I have been very busy doing something really cool and it has finally paid off!
It is hardware emulation of the PA unit using MAME.
MAME is primarily used for arcade machine emulation however it was perfect for this. All electrical connections are emulated which means no custom programming of the firmware was required. I was able to just use the exact ROM from the unit and it worked perfectly.
 

365 Networker

Member
Joined
19 Jul 2019
Messages
537
I have been very busy doing something really cool and it has finally paid off!
It is hardware emulation of the PA unit using MAME.
MAME is primarily used for arcade machine emulation however it was perfect for this. All electrical connections are emulated which means no custom programming of the firmware was required. I was able to just use the exact ROM from the unit and it worked perfectly.
This is great! Can you get it to do the "This Train Is For" announcements for Kings Cross, Victoria, Peterborough etc with the various via messages?
 
Status
Not open for further replies.

Top