Author Topic: Lengthy time to find one ASM error  (Read 2460 times)

0 Members and 1 Guest are viewing this topic.

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Lengthy time to find one ASM error
« on: February 02, 2011, 11:41:37 pm »
What's your record time--meaning longest time--for finding a single error (meaning one line of code) in your ASM program, an error that once you fixed everything worked perfectly?  My record was two days for a "pop hl"
« Last Edit: February 02, 2011, 11:42:01 pm by Hot_Dog »

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: Lengthy time to find one ASM error
« Reply #1 on: February 03, 2011, 12:01:47 am »
Sadly I do not do ASM, but the longest time for any language for me would be five months in Visual Basic 6, but I forgot what was the bug. (It was tilemap-related and one single thing that did not work while the rest worked despite being similar code but I forgot what)
« Last Edit: February 03, 2011, 12:02:26 am by DJ Omnimaga »

Offline calc84maniac

  • eZ80 Guru
  • Coder Of Tomorrow
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2912
  • Rating: +471/-17
    • View Profile
    • TI-Boy CE
Re: Lengthy time to find one ASM error
« Reply #2 on: February 03, 2011, 12:07:15 am »
Hmm, I know it took me quite a while to realize that when I added a backbuffer to the old, old Project M (the Mario Bros Classic one), that it was sharing the same space as my object data. But that was back when I coded exclusively oncalc. :P Can't think of anything more recent off the top of my head.
"Most people ask, 'What does a thing do?' Hackers ask, 'What can I make it do?'" - Pablos Holman

Offline Xeda112358

  • they/them
  • Moderator
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 4704
  • Rating: +719/-6
  • Calc-u-lator, do doo doo do do do.
    • View Profile
Re: Lengthy time to find one ASM error
« Reply #3 on: February 03, 2011, 12:07:49 am »
hahahahahahahahahahahahaha.... um, several months? I forgot to add 23 or inc hl at the beginning. It was why it took me so long to get SpriteLib to be the app BatLib. I forgot that my call ConvDecAtHL required HL to point to the second byte of an FP number.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Lengthy time to find one ASM error
« Reply #4 on: February 03, 2011, 12:33:21 am »
Euh, does this count?

I made my first ASM program. It didn't work, so I gave up.

A couple months later, after learning a lot more ASM, I came back to it and fixed it.




Offline JosJuice

  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1344
  • Rating: +66/-14
    • View Profile
Re: Lengthy time to find one ASM error
« Reply #5 on: February 03, 2011, 01:38:24 am »
I couldn't compile the first program I made... I saved it as a txt file instead of asm :P
It took at least an hour to find that...

Offline jnesselr

  • King Graphmastur
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2270
  • Rating: +81/-20
  • TAO == epic
    • View Profile
Re: Lengthy time to find one ASM error
« Reply #6 on: February 03, 2011, 05:51:15 pm »
Me? I spent about half a year or more in a USB code with Apple's iokit (Used to access devices like USB), and couldn't figure out why it showed a device was there, but then stalled and said it wasn't there, but then said it was there again, until I added a like .05 sec pause between writing and reading.