flat assembler
Message board for the users of flat assembler.
Index
> IDE Development > DOS IDE BUG: Drunk GPF after 50'000 bottles of BEER |
Author |
|
DOS386 18 Jun 2009, 12:12
Quote: Who drunk all the beer! No idea, sorry I tested revolution's BEER algorithm , as-is works very well in DOS IDE and can copy the drunk garbage into the clipboard and from there to the main text buffer But I felt somewhat challenged so I wanted to test what happens if you drink 1'000'000 bottles instead of just 100: Out of memory. Well, so I reduced and reduced, and with 50'000 bottles I got a GPF (see shot). Crashing instruction is REP MOVSB in update_screen, however the screen is damaged (see top line in shot), and the ES selector is faulty Code: display_block: push es mov es,[low_memory_selector] mov edi,[display_length] mov eax,[display_length] add eax,ecx cmp eax,[low_memory_size] ja not_enough_memory ; HERE: ES = ??? mov [display_length],eax rep movsb pop es ret ; Error handling not_enough_memory: call update_screen ; HERE: ES = ??? mov esi,_memory_error mov ebx,_error movzx eax,[error_box_colors] What's the point of hogging the low memory and maintaining this low_memory_selector at all ? Can this get fixed ? Silent update ? 1.68.01 ?
_________________ Bug Nr.: 12345 Title: Hello World program compiles to 100 KB !!! Status: Closed: NOT a Bug |
||||||||||
18 Jun 2009, 12:12 |
|
DOS386 18 Jun 2009, 13:07
Tomasz Grysztar wrote: You're still making the same mistake. NO. Quote: 1.68 is version of core, not IDE. FASMD is currently versioned only by the date of last update. I do know this ... so this bug can be fixed in 1.68.01 (or 1.69.01) if you also fix something in the core, or "silently" in 1.68, or not at all, I can fix it myself by a very trivial rearrangement of instructions, but I would prefer this fix to be included in next "official" version also whenever it comes with whatever number |
|||
18 Jun 2009, 13:07 |
|
Tomasz Grysztar 18 Jun 2009, 13:10
DOS386 wrote: I do know this ... so this bug can be fixed in 1.68.01 (or 1.69.01) if you also fix something in the core, or "silently" in 1.68 It won't be silent, the date will get updated. And there won't be any 1.68.01 version, because 1.68 is not a development line. |
|||
18 Jun 2009, 13:10 |
|
rCX 22 Jun 2009, 03:49
Kinda off topic but DOS386, what program are you using to make screenshots?
|
|||
22 Jun 2009, 03:49 |
|
DOS386 19 Dec 2009, 01:35
> what program are you using to make screenshots?
I don't know: http://www.unet.univie.ac.at/~a0503736/php/drdoswiki/index.php?n=Main.Gallery Well, the BUG still isn't fixed: Quote:
Less luck with a trivial bug than with the calculator EDIT : reposted since still not fixed |
|||
19 Dec 2009, 01:35 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.