bobbydilley
Grand Master
@Dion This is a little bit of information about the setup:
Computer working: Macbook Pro 2015 (Mac OS Mojave)
Computer not working: Raspberry Pi 2 (Ubuntu Mate)
Arcade Platform: Sega Naomi
Game: The Maze Of The Kings
USB to RS485 Converter: https://www.amazon.co.uk/DSD-TECH-C...26111&sr=8-13&keywords=usb+to+rs485+converter
Below is the trace of bytes (in decimal not hex as its a bit easier to read):
Thanks for looking - Now looking at it I'm wondering if its anything to do with initialisation of variables being different on arm?
Computer working: Macbook Pro 2015 (Mac OS Mojave)
Computer not working: Raspberry Pi 2 (Ubuntu Mate)
Arcade Platform: Sega Naomi
Game: The Maze Of The Kings
USB to RS485 Converter: https://www.amazon.co.uk/DSD-TECH-C...26111&sr=8-13&keywords=usb+to+rs485+converter
Below is the trace of bytes (in decimal not hex as its a bit easier to read):
Code:
ON MAC
===================================================
GAME NOT YET RUNNING:
SYNC (The Sync Packet)
length 9 (This is the length)
byte 32 (First Data Byte)
byte 2
byte 2
byte 33
byte 2
byte 34
byte 4
byte 37
byte 1
check 158 158 (Checksum check)
GAME RUNNING:
SYNC
length 12
byte 50
byte 1
byte 0
byte 32
byte 2
byte 2
byte 33
byte 2
byte 34
byte 4
byte 37
byte 1
check 212 212
ON RASPBERRY PI
=================================================
GAME NOT YET RUNNING:
SYNC (The Sync Packet)
length 9 (This is the length)
byte 32 (First Data Byte)
byte 2
byte 2
byte 33
byte 2
byte 34
byte 4
byte 37
byte 1
check 158 158 (Checksum check)
GAME RUNNING:
SYNC
length 9 <- This is wrong so the rest is garbage.
byte 50
byte 1
byte 0
byte 32
byte 2
byte 2
byte 33
byte 2
byte 34
CHECK FAILED.