Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
01981 Cheat System Minor Always Jul 6, 2008, 15:31 Jul 17, 2008, 23:59
Tester Pugsy View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Won't fix OS Windows XP/Vista 32-bit
Status [?] Closed Driver
Version 0.125u9 Fixed in Version Build C2D
Fixed in Git Commit Github Pull Request #
Summary 01981: Issues with writing anything greater than a byte with some games
Description There appears to be big/little endian issues or it's not poking anything
greater than byte size. It's noticeable in many games...I've given two simple examples of kinst211 and invaders.

  
Steps To Reproduce  The 'Finish this Round Now!' cheat for kinst211 should run the timer straight down to '00'.

   :kinst211:00200001:87F7A10:00000002:FFFFFFFF:Finish this Round Now!

   Another example is the 'Kill All Invaders Now!' for Space Invaders
   (which I appreciate could be reduced to one cheat line - but that's not the point).
   If you put a watch on the cheat and then activate it when you have all the invaders
   on the screen the watches should go from all '01010101' to '00000000' but they all
   go to '00010101' and obviously most of the invaders go nowhere.

   :invaders:00300001:2100:00000000:FFFFFFFF:Kill All Invaders Now! PL1
   :invaders:00310001:2104:00000000:FFFFFFFF:Kill All Invaders Now! PL1 (02/14):1st Line 2100 to 210A
   :invaders:00310001:2108:00000000:FFFFFFFF:Kill All Invaders Now! PL1 (03/14):2nd Line 210B to 2115
   :invaders:00310001:210C:00000000:FFFFFFFF:Kill All Invaders Now! PL1 (04/14):3rd Line 2116 to 2120
   :invaders:00310001:2110:00000000:FFFFFFFF:Kill All Invaders Now! PL1 (05/14):4th Line 2121 to 212B
   :invaders:00310001:2114:00000000:FFFFFFFF:Kill All Invaders Now! PL1 (06/14):Top Line 212C to 2136
   :invaders:00310001:2118:00000000:FFFFFFFF:Kill All Invaders Now! PL1 (07/14)
   :invaders:00310001:211C:00000000:FFFFFFFF:Kill All Invaders Now! PL1 (08/14)
   :invaders:00310001:2120:00000000:FFFFFFFF:Kill All Invaders Now! PL1 (09/14)
   :invaders:00310001:2124:00000000:FFFFFFFF:Kill All Invaders Now! PL1 (10/14)
   :invaders:00310001:2128:00000000:FFFFFFFF:Kill All Invaders Now! PL1 (11/14)
   :invaders:00310001:212C:00000000:FFFFFFFF:Kill All Invaders Now! PL1 (12/14)
   :invaders:00310001:2130:00000000:FFFFFFFF:Kill All Invaders Now! PL1 (13/14)
   :invaders:00210001:2134:00000000:FFFFFFFF:Kill All Invaders Now! PL1 (14/14)
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
2
User avatar
No.01561
ShimaPong
Tester
Jul 9, 2008, 16:36
edited on: Jul 9, 2008, 16:38
1) I'm now missing valid kinst "ROM SET" (not artwork!) so that I can't confirm but the following code may works fine.
:kinst::0000200000::80884F8::00090946::FFFFFFFF:Infinite Time

2) Use RWrite. RWrite is "Repeat Write". If an address is ???? and a value is the same, you can pack ??? codes into 1.

:invaders::0020300001::2100::00000000::0000000E:1P Kill All Invaders Now!

 [ RWrite (Repeat Write) ]

---- ---- 0010 ---- ---- ---- ---- ---- ---- ---- ---- (--02------) [Code Type]
---- ---- ---- 0000 ---- ---- ---- ---- ---- ---- ---- (----00----) [Code Parameter]

  Parameter : ???
  Address Read : Field = ?, Indirect = ?, Variable = ?
  Data Read : Field = ?, Variable = ?
  DF : Value
  EF : Count [??2???] (??) & Address Skip [??2???] (?????)
  Error : Count? 0 ???? 1 (???????)

  ????????????????Count????????????????????
  ????????????????????????????????????????????????
  AddressSkip?0????????????????????????????????
   ?) ?????? = 1234????? = 4????? = 10 : ????????1234?1244?1254?1264???
  ?????0????????????????????????????????
   ?) ?????? = 5678???? = 3 (24???) : ????????567B, 567E, 5681, 5684...???
User avatar
No.01678
Fujix
Administrator
Jul 17, 2008, 23:59
Redesign of the cheat system is in progress.
Bugs for the old system are invalid now.