English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 04 April 2017, 11:24   #1
xArtx
Registered User
 
Join Date: Jun 2013
Location: Australia
Posts: 685
Kickstart Checksum & Assembly

Hi Guys
I have read in an older thread here how the checksum is calculated:
Add every 32 bit wide value, and add the carry bits for every overflow (as I understood it).

Are there any other considerations when assembling the files in the ROM?
I understand the bootstrap and Exec stuff should appear first,
but any considerations after that?
Cheers
xArtx is offline  
Old 06 December 2017, 17:44   #2
jlin_au
Registered User
 
Join Date: Nov 2016
Location: Fadden ACT Australia
Posts: 128
According to the older threads I found, the standard calculated checksum (sum of all 32 bit longwords and carries for every overflow) for the final ROM image needs to have a 32 bit value of -1 (or 0xffff ffff ffff ffff). You will need to add an unused 32 bit field value to your code to make that adjustment so the final checksum is the expected -1 (0xffff ffff ffff ffff).

For an emulator there is may also be additional checks added by the emulator before executing any 680x0 code in the supplied or your own custom ROM images.

Cloanto have more information on their website https://cloanto.com/amiga/roms/help/checksum.html ....
"The checksum is used during Kickstart initialization (in V37+) to verify the contents of the ROM. If the stored checksum does not match the one calculated during initialization, a red screen is presented, the power LED is
flashed ten times, and initialization is restarted.
WARNING: Kickstarts smaller than 512KB (pre-2.0) do not verify the encoded checksum! (Some Amiga emulators, such as UAE, will validate the Kickstart checksum prior to starting the CPU.)"

Also see: https://cloanto.com/amiga/roms/faq.html
https://www.amigaforever.com/kb/15-127

Last edited by jlin_au; 06 December 2017 at 19:09. Reason: Additional checksum information
jlin_au is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Elvira I & II on Kickstart 3.x.. almost there! Gaula92 support.Games 0 29 January 2013 00:29
Kickstart checksum algorithm ? BlankVector New to Emulation or Amiga scene 8 07 July 2012 11:18
UAE only recognises Kickstart 1.2 & 1.3 JethroUK support.WinUAE 44 30 September 2009 18:08
Kickstart checksum incorrect Techx support.WinUAE 5 04 August 2005 04:43
A500 with HD & Kickstart issue dirkies support.Hardware 16 30 March 2005 06:41

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:34.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.11521 seconds with 15 queries