|
Post by cyberdyne on Oct 12, 2008 10:41:48 GMT -5
Hello! I have a problem. I try to build a PAL Hummer. I have already switched crystals with a PAL DTV2 and now I wanted to flash a Kernal with PAL-timings. I used TLRs Kernalpatcher v1.0 and created a new Hummer-kernal with this setting: $D040=$03 $D041/42/43=$240000 $D04E=$02 ( jledger.proboards19.com/index.cgi?board=dtvhacking&action=display&thread=2615) $D04F=$02 I saved the kernal and tested it. Worked perfect - got colours! Then I tried to flash the kernal with TLRs Flasher v1.0. I loaded the kernal with no offset, removed writeprotection and flashed from $00E000 to $010000. I always get this error: PROG ERROR! $00F72E=$50 ($F1) Lucky me the Hummer is still working but also still grayscale. I tried saving as RAW and loading as RAW and saving as not-RAW and loading as not-RAW. I also tried to erase the range from $00E000 till $010000 befor flashing. Nothing helps. What am I doing wrong? Its not my first time flashing a kernal. I already flashed 2 DTV2 with a patched kernal with NTSC timings. That worked perfect without errors. Please help! Jan aka Cyberdyne
|
|
|
Post by cyberdyne on Oct 14, 2008 14:47:23 GMT -5
Has noone ever tried to flash a new Hummer kernal?
|
|
|
Post by nojoopa on Oct 16, 2008 7:46:02 GMT -5
Seems like the kernal area is not erased before writing for some reason. Please check which Flash chip you have (should be AT49BV163A) and that the Flash program detects it correctly. If the detected Flash type has 'T' as the last letter and the actual chip doesn't, the program is erasing the wrong sector.
Also, please write down and post the full output of the program after the "are you sure (y/n)?".
|
|
|
Post by David Murray on Oct 16, 2008 8:30:27 GMT -5
Has noone ever tried to flash a new Hummer kernal? What do you consider a new hummer kernel? I have flashed 4 different hummers before. I didn't answer your question because I didn't know the answer. I was hoping TLR or somebody might eventually answer it.
|
|
|
Post by cyberdyne on Oct 16, 2008 12:59:31 GMT -5
Hi David!
I send an email directly to TLR. His first guess was deleting the area as well. With a new Hammer Kernal I was speaking of flashing it to the original kernal location (it's 00E000 to 010000 like DTV right?).
I never did it with my DTV mods but I tried flashing after deleting as well. But as far as I know the area 000000-010000 will always be automaticaly deleted when flashing the kernal. I will flash again and tell you the output.
EDIT1: FLASH: AT4XBV16X And the Chip is a AT49BV163A
EDIT2: This is the information I get when flashing the kernal (after: are you sure?): DUMPING $000000-$010000 ERASING SECTOR $000000-$010000 PROGRAMMING $000000-$00E000 PROGRAMMING $00E000-$00F72E PROG-ERROR! $00F72E=$50 ($F1) I don't think that I have to erase the area 00E000-01000 by hand. But I did it just to be sure!
|
|
|
Post by nojoopa on Oct 16, 2008 13:42:53 GMT -5
FLASH: AT4XBV16X And the Chip is a AT49BV163A OK, the detection works. This chip has $2000 byte sectors below $10000, while the 'T' chip has them above $1f0000. Other sectors are $10000. This is the information I get when flashing the kernal (after: are you sure?): DUMPING $000000-$010000 ERASING SECTOR $000000-$010000 PROGRAMMING $000000-$00E000 PROGRAMMING $00E000-$00F72E PROG-ERROR! $00F72E=$50 ($F1) ...but the Flash program is only erasing "block 0" that it thinks is $000000-$010000 (like in the 'T' chip), while it really is $000000-$002000. The bug seems to be in flash_io.asm, line 1223: "ldy #CONFIG_ATMEL_BOTTOM" ...which should probably be: "ldy #ADDRTAB_BOTTOM". Please wait for TLR to confirm this.
|
|
|
Post by cyberdyne on Oct 16, 2008 15:09:39 GMT -5
Thanks for helping! I got a fixed version of the Flasher1.0 and now it works. BUT I patched the kernal with the TLR KernalPatcher 1.0. I choose Hummer Kernal, said NO to all options but hardcoded video-timings and changed them to PAL timings: $D040=$03 $D041/42/43=$240000 $D04E=$0A (for testing purpose) $D04F=$02 Now I flashed this kernal and get this effect: When I just start the Hummer I only get a black screen. I was shocked!!! But I can start the Hummer with pressed CTRL-key and get to the BSIC startscreen. There is something different! Till flashing I alwas got the startscreen with an extra line with text (waiting for something) and I had to push a key. Now it looks like a normal C64 screen. I don't care about the extra line but the Hummer does not start with the game anymore. Did I do anything wrong with the patcher? Why does the Hummer Racing Game does not start anymore? Where do I get the original Hummer Kernal (unpatched or with my PAL timings)?
Please help! Thank you!
|
|
|
Post by tlr on Oct 16, 2008 15:18:27 GMT -5
This is the information I get when flashing the kernal (after: are you sure?): DUMPING $000000-$010000 ERASING SECTOR $000000-$010000 PROGRAMMING $000000-$00E000 PROGRAMMING $00E000-$00F72E PROG-ERROR! $00F72E=$50 ($F1) ...but the Flash program is only erasing "block 0" that it thinks is $000000-$010000 (like in the 'T' chip), while it really is $000000-$002000. The bug seems to be in flash_io.asm, line 1223: "ldy #CONFIG_ATMEL_BOTTOM" ...which should probably be: "ldy #ADDRTAB_BOTTOM". Please wait for TLR to confirm this. Confirmed. Well spotted, nojoopa! I guess nobody ever tried to flash the kernal on a hummer with flash-1.0...
|
|
|
Post by cyberdyne on Oct 16, 2008 15:26:10 GMT -5
I am nobody? And now to the new problem!
|
|
|
Post by tlr on Oct 16, 2008 15:27:38 GMT -5
Did I do anything wrong with the patcher? Why does the Hummer Racing Game does not start anymore? You didn't do anything wrong, it's just that the patcher is designed to make C64 DTV kernals for use in the original C64 DTV or the Hummer-game. The original Hummer kernal uses a different file system which is why the game doesn't load after switching. Where do I get the original Hummer Kernal (unpatched or with my PAL timings)? I've mailed you one so you can restore the original kernal.
|
|
|
Post by tlr on Oct 16, 2008 15:30:15 GMT -5
I am nobody? I ment that nobody ever tried it before you did. Sorry.
|
|
|
Post by cyberdyne on Oct 16, 2008 15:46:06 GMT -5
I am not nobody! I am the first! ;D
Is here anybody who can patch the original Hummer kernal to use hardcoded video-timings (PAL)? Nothing more should be changed.
And/or can anyone tell me which resistors I have to change at the userport to have "softcoded" PAL timings?
Thank you!
|
|