TibFormat.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. TIB Format :
  2. The last byte of the field type is the size of the field :
  3. < $D : Size is the last byte
  4. = $D : Size is the next byte
  5. = $E : Size is the next word
  6. = $F : Size is the next long
  7. dc.w $800F ; AMS Header
  8. dc.l $00 ; The encapsulated bytes which follow
  9. dc.w $8011 ; First Part of Product ID
  10. dc.b $00 ; 03 for 89 / 1 for 92+
  11. dc.b $8021 ; Third part of Product ID
  12. dc.b $00 ; 06 for 2.02 / 1 for 1.01, etc
  13. dc.b $8032 ; Fourth part of Product ID
  14. dc.b $00,$00 ; 0038 / 004F
  15. dc.b $80A1 ; Second part of Product ID
  16. dc.b $00 ; Is flashed ? 1
  17. dc.b $804D ; Product Name
  18. dc.b $00 ; *Size of the field
  19. ds.b xxxx ; *Name = AMS, etc
  20. dc.w $0326 ; Product Code ?
  21. dc.b $09,$04,$00,$00,$00,$00 ; *Date Stamp - XX/XX/XXXX ?
  22. dc.w $020D
  23. dc.b $40 ; *encrypted TI Date Stamp Signature
  24. ds.b 64 ; *First Encryption - 64 Chars
  25. dc.w $807F ; Actual AMS code
  26. dc.l $00 ; Size
  27. dc.l $CCCCCCCC ; Start of AMS code (End of Header)
  28. ds.b xxxxx ; MUST BE at an EVEN address ! Add 0 else before.
  29. dc.l $00000000 ; * Checksum
  30. dc.w $020D
  31. dc.b $40 ; * Dummy encrypted TI Checksum Signature
  32. ds.b 64
  33. Vti detects the rom version by searching a string which looks like :
  34. dc.b N,'.',N,N,0,N,N,'/',N,N,'/',N,N,N,N,0
  35. N means a number '0' to '9'.
  36. It must be at an EVEN address.
  37. If you don't define it, it may crash Vti.