WHDLoad MantisBT - GemX | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0003962 | GemX | [All Projects] General | public | 2018-09-20 23:15 | 2018-09-22 21:23 |
| Reporter | Harry | ||||
|---|---|---|---|---|---|
| Assigned To | StingRay | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Machine | UAE | ||||
| CPU | 68020 | ||||
| CPUSpeed | 14 | ||||
| ChipSet | AGA | ||||
| GFXCard | None | ||||
| ChipMem | 2 MB | ||||
| FastMem | 16 MB | ||||
| Workbench | OS 3.1 | ||||
| KickROM | 40 - Kick 3.1 | ||||
| KickSoft | None | ||||
| WHDLoad | 18.3 | ||||
| imported | yes | ||||
| Summary | 0003962: Hello Stingray, the latest WinUAE and FS-UAE have the problem that getting the | ||||
| Description | GameVersion: english,1 disk, original release SlaveVersion: all Hello Stingray, the latest WinUAE and FS-UAE have the problem that getting the HPOS ($dff007) is not random enough to serve as random generator, resulting in mostly the same mine sequence played in WHDLoad. The next mine is determined at $5ade, the location $5aea MOVE.W (A5, $6),D0 ;4 Bytes long, A5 is $dff000 would be a good place to patch to return a random value. A random generator of a variant I used in Fourmaze is: *** GETBYTERANDOM bsr.s random LSR.L #3,D0 AND.B #$FF,D0 rts random MOVE.L RANDOM1(PC),D0 ADD.L RANDOM2(PC),D0 MOVE.L D0,RANDOM1 ROR.L #$04,D0 SUB.W RANDOM2(PC),D0 EOR.L D0,RANDOM2 ADD.L #$56565311,RANDOM1 RTS RANDOM1 DC.L $3F3F751F RANDOM2 DC.L $17179834 *** For best results, call it also every VBI for the internal side effects so playing time is incorporated and the results are not in a certain sequence. A good place to insert in the VBI is $7594 LEA.L $DFF000,A5 ;6 Bytes long Thanks, Harry. | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
|---|---|---|---|---|---|
| 2018-09-20 23:15 | administrator | New Issue | |||
| 2018-09-20 23:15 | administrator | Status | new => assigned | ||
| 2018-09-20 23:15 | administrator | Assigned To | => StingRay | ||
| 2018-09-21 14:47 | StingRay | Note Added: 0006377 | |||
| 2018-09-21 15:44 | StingRay | Note Added: 0006379 | |||
| 2018-09-21 15:44 | StingRay | Status | assigned => resolved | ||
| 2018-09-21 15:44 | StingRay | Resolution | open => fixed | ||
| 2018-09-22 21:23 | Denis | Note Added: 0006383 | |||