Author Topic: gbc4nspire Bug  (Read 15271 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: gbc4nspire Bug
« Reply #15 on: November 30, 2010, 03:15:50 pm »
(should that version of gbc4nspire be added to the archives since the original was by one of our staff?)

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: gbc4nspire Bug
« Reply #16 on: November 30, 2010, 04:38:27 pm »
(should that version of gbc4nspire be added to the archives since the original was by one of our staff?)
That's fine with me
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: gbc4nspire Bug
« Reply #17 on: December 01, 2010, 04:00:52 am »
Ok, I think I'll include it with the current version.

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: gbc4nspire Bug
« Reply #18 on: February 19, 2012, 06:19:14 am »
Ok, I have a "problem" or maybe a bug or maybe I am getting worried for nothing.
In Pokemon Cristal the clock is very strange. I don't expect it to be accurate but
- the minutes are always at 58
- the hours increase by one every <random long number> (so it is always night, but it used to be day at the beginnning)
- the day changes sometimes I don't know how
- "Mom" says she lost the notice to set the clock

How is it working ? ???
« Last Edit: February 19, 2012, 06:20:27 am by Hayleia »
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: gbc4nspire Bug
« Reply #19 on: February 19, 2012, 10:29:59 pm »
Ok, I have a "problem" or maybe a bug or maybe I am getting worried for nothing.
In Pokemon Cristal the clock is very strange. I don't expect it to be accurate but
- the minutes are always at 58
- the hours increase by one every <random long number> (so it is always night, but it used to be day at the beginnning)
- the day changes sometimes I don't know how
- "Mom" says she lost the notice to set the clock

How is it working ? ???
Ah, I never really implemented support for the clock that is used in some cartridges. It would have been hard to do with the way I implemented memory reads, so I didn't do it.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: gbc4nspire Bug
« Reply #20 on: February 20, 2012, 01:12:24 am »
Was the clock built-in the GBC or was it part of the cartidge, like how they added extra chips in SNES ones? I didn't even know GBC games used any clock or stuff like that.

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: gbc4nspire Bug
« Reply #21 on: February 20, 2012, 01:32:09 am »
Was the clock built-in the GBC or was it part of the cartidge, like how they added extra chips in SNES ones? I didn't even know GBC games used any clock or stuff like that.
It was part of the cartridge. The games had to interface with the clock by using memory reads/writes, and that didn't work with my emulator because it didn't support trapping reads or writes to that area of memory (each byte in that 8KB range does the same operation)
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: gbc4nspire Bug
« Reply #22 on: February 20, 2012, 01:38:18 am »
Ah ok thanks for clarifying. :) Do you know if it will be added in the future? (Although I understand without the source it's quite hard X.x)

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: gbc4nspire Bug
« Reply #23 on: February 20, 2012, 01:40:33 am »
The only way I can see it happening without a complete rewrite is by some sort of hackage that assumes that games will always read and write the first byte of that area, and the emulator would check/update that byte semi-regularly.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: gbc4nspire Bug
« Reply #24 on: February 20, 2012, 02:25:06 am »
But if you don't have any clock, why is the hour changing sometimes ? ???
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: gbc4nspire Bug
« Reply #25 on: February 20, 2012, 02:37:38 am »
But if you don't have any clock, why is the hour changing sometimes ? ???
Well, I think it's just treating the clock interface as actual memory, so it's probably reading the time from the RAM on the cartridge instead.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: gbc4nspire Bug
« Reply #26 on: February 20, 2012, 09:50:19 pm »
for that reason, you can't play HM1. D:
Also, for pokemon crystal, wasn't there a combination to change the clock?
Sig wipe!

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: gbc4nspire Bug
« Reply #27 on: February 21, 2012, 02:24:36 am »
for that reason, you can't play HM1. D:
Also, for pokemon crystal, wasn't there a combination to change the clock?
Normally, when you talk to your mother, there is an option to change the clock. But she says she lost the notice D:
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: gbc4nspire Bug
« Reply #28 on: February 21, 2012, 02:49:17 am »
I think there is a secret way to change the clock on Gold and Silver but not Crystal. However, DST adjustments are possible on all three games by talking to mom.

Offline Yeong

  • Not a bridge
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3739
  • Rating: +278/-12
  • Survivor of Apocalypse
    • View Profile
Re: gbc4nspire Bug
« Reply #29 on: February 21, 2012, 07:13:40 pm »
well, there was a way to change Days with gbc4nspire (2.1) but IDK about the current version.
Go to pokegear, set it so you can see the days(Like monday), hold x button (you, know, speedhack), and scroll the pokegear to next page and go back to day stuff.
Sig wipe!