IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1822.51 MB
Powered by
Channel Info
Network: freenodeChannel: #reactos |
Search in www.irclog.org
Log from #reactos at freenode 2006-08-05
[00:00]<gznzvljzm>0x7C00 and up is the master bootblock from the hd
[00:00]<wzwdzzrjg>hmm
[00:00]<vzdldzn>it works perfectly when using a smaller disk stack (use therboot as UNDI driver, which is only 5k, as opposed to a "real" undi stack of around 40k)
[00:00]<wzwdzzrjg>if NOT ERRORLEVEL 0 doesn't seem to be working
[00:00]<vzdldzn>GreatLord, yah...
[00:01]<gznzvljzm>WaxDragon : are u using ros cmd ?
[00:01]<vzdldzn>basemem: 0-0400 = vector table, 0400-0500 bios area, 0600 = mbr when laoded, 0600-7c00 stack, 7c00-7900 bootsector
[00:02]<gznzvljzm>or windows cmd ?
[00:02]<vzdldzn>lastone:7c00-7e00
[00:02]<wzwdzzrjg>windows
[00:02]<fyzn2rff>Vampyre - anyway, this mem should be marked as "firmwaretemporary" or something like that in the loader. So it doesn't touch it
[00:02]<ggajmgm>does windows cmd work okay in ros?
[00:02]<gznzvljzm>Vampyre : u can not trust on that table
[00:02]<xljussyg>WaxDragon, "if errorlevel x" means "if errorlevel >= x"
[00:02]<gznzvljzm>u posted it is not complete
[00:03]<vzdldzn>Fireball, yah, you basicly do that by setting the return value of int13 (free base memory)
[00:03]<vzdldzn>int12*
[00:03]<fyzn2rff>well, yes
[00:03]<xljussyg>WaxDragon, so "if errorlevel 0" => "if errorlevel > 0" and "if not errorlevel 0" means "if errorlevel < 0"
[00:03]<wzwdzzrjg>I left the command off
[00:03]<vzdldzn>GreatLord, it doesn't matter that it's not complete, I know what base mem looks like
[00:04]<wzwdzzrjg>Why does windows make this so hard?
[00:04]<vzdldzn>i'm not talking about anything < bootloader, i'm talking about >080000 till 0a0000
[00:04]<vzdldzn>that's whats being overwritten
[00:04]<gznzvljzm>0x80000 is resves for graphic card
[00:04]<xljussyg>WaxDragon, that's why if you want to test for errorlevel, you have to test from the highest to the lowest
[00:04]<vzdldzn>which it shouldn't be, because I mark it as not free
[00:04]<vzdldzn>no it aint, 2nd time
[00:04]<vzdldzn>080000 is base mem
[00:04]<wzwdzzrjg>Can you have negative return does in windows?
[00:05]<gznzvljzm>the fucking vbe is loading to there
[00:05]<wzwdzzrjg>s/does/codes/
[00:05]<gznzvljzm>we are not talking about frame buffer
[00:05]<gznzvljzm>we talking about graphic card rom is loading
[00:05]<vzdldzn>rite, then explain to me why you have 640 k in LINEAR real mode address space in DOS, while still having access to VBE through int10?
[00:06]<wzwdzzrjg>hpoussin: I just want to exit on anything nonzero
[00:06]<gznzvljzm>Vampyre : u never had line 640KB in dos
[00:06]<vzdldzn>lol
[00:06]<xljussyg>WaxDragon, "IF ERRORLEVEL 1 ..."
[00:06]<vzdldzn>yes you have :-)
[00:06]<vzdldzn>oh
[00:06]<vzdldzn>and another thing
[00:06]<gznzvljzm>no
[00:06]<wzwdzzrjg>hpoussin: Can you have negative return codes?
[00:06]<xljussyg>WaxDragon, GetExitCodeProcess returns a DWORD so i suppose an exit code can't be < 0
[00:06]<gznzvljzm>u have diffent block adress to loading to
[00:06]<vzdldzn>why does int12 give me 575 K free as linear free base mem from 0x0000 on?
[00:07]<wzwdzzrjg>ok, thanks
[00:07]<vzdldzn>do the math and see that it goes beyong 080000
[00:07]<vzdldzn>and read on what int12 reports
[00:07]<gznzvljzm>Vampyre : tell total free memory, but it does not tell u it is line
[00:07]<vzdldzn>and when you established that in realmode addressmode you really have 640k base mem, can we please get on with the topic?
[00:07]<gznzvljzm>it count all block and emty betwin use memory
[00:08]<vzdldzn>cause srry, if 08000 was really allready in use, then nothing would have booted when using etherboot either
[00:08]<xljussyg>WaxDragon, see errorlevel as a huh... error level. the highest the level is, the biggest is the error. "ERRORLEVEL 1" means at least a small error. ERRORLEVEL 2000000 means (at least) a very big error
[00:08]<vzdldzn>and trust me, in the 2 or 3 months I have been working on this, I reeeaaaly would have found out by now what on 080000 was, if anything
[00:08]<vzdldzn>[23:04:36] <GreatLord> Vampyre : tell total free memory, but it does not tell u it is line
[00:08]<vzdldzn>yes it does
[00:08]<wzwdzzrjg>BrandonSad: Implement /b in exit for me. ;0)
[00:09]<bzrgmjgsrm>what does it do?
[00:09]<vzdldzn>INT 12 - BIOS - GET MEMORY SIZE
[00:09]<vzdldzn>Return: AX = kilobytes of contiguous memory starting at absolute address 00000h
[00:09]<vzdldzn>there
[00:09]<gznzvljzm>Vampyre : I programing in dos in pure asm for 5 year
[00:09]<vzdldzn>contiguous
[00:09]<vzdldzn>contiguous = in line
[00:09]<wzwdzzrjg>exit's just the current batch file
[00:09]<gznzvljzm>on my i486
[00:09]<vzdldzn>contiguous = in line = you are wrong
[00:09]<bzrgmjgsrm>that doesnt work?
[00:09]<wzwdzzrjg>I'd also like to be able to set the return code. ;0)
[00:09]<bzrgmjgsrm>im suprised
[00:09]<wzwdzzrjg>I know, I want alot.
[00:09]<gznzvljzm>we are talking about dos memory layout right
[00:10]<bzrgmjgsrm>batch return code?
[00:10]<emurgmcj>Hi
[00:10]<xljussyg>WaxDragon, "goto :eof" work to finish the batch, but doesn't see the error code
[00:10]<xljussyg>*set
[00:10]<vzdldzn>yes we are
[00:10]<bzrgmjgsrm>as in ERRORLEVEL?
[00:10]<vzdldzn>realmode "dos" memory
[00:10]<vzdldzn>whatever you want to call it
[00:10]<gznzvljzm>then u do not have line memory 640KB of alot reason
[00:10]<vzdldzn>omg, plz dude
[00:10]<vzdldzn>read the specs
[00:10]<wzwdzzrjg>BrandonSad: pull up a windows cmd and do exit /?
[00:10]<wzwdzzrjg>;0)
[00:11]<bzrgmjgsrm>oh
[00:11]<bzrgmjgsrm>lol ;)
[00:11]<gznzvljzm>and today mainboard will give u less 640KB free
[00:11]<vzdldzn>yes
[00:11]<gznzvljzm>for it need loading alot rom
[00:11]<gznzvljzm>to 1MB -> and under
[00:11]<bzrgmjgsrm>WaxDragon: are you using it a batch file you are writing?
[00:11]<vzdldzn>because todays mainbords reserve the upper parts of 9000 for option roms which don't fit in the upper memory block
[00:11]<wzwdzzrjg>Yes
[00:11]<vzdldzn>hey, like the UNDI stack!
[00:11]<vzdldzn>which is there
[00:11]<bzrgmjgsrm>alright
[00:11]<bzrgmjgsrm>ill do it right now







