logs archiveIRC Archive / Undernet / #asm / 2006 / June / 8 / 1
clockworkora
i guess that line shut the both of you up. oh well.
terby
(Action) is away, emo, (log\on pager\on)
Chiu_Lee
passing ah=2, al=1, cx=0, dh=0, dl=0 to int 13h should load the bootsector, no?
I spent aprox 3-4 hours debugging my bootloader. there's something definitly stinky there, as I keep getting 80h in ah. I used to get 02h before, but I can't seem to get to that or anything else anymore.
_capoeira
did you consider sacrifying a goat ?
Chiu_Lee
nope. but I did consider starting all over again
just got a 0. cx=1.
_capoeira
you need a new eye, either someone else or you after a rest
Chiu_Lee
I thought addreses start from 0:0:0 in chs
_capoeira
it doesn't
there's a 1 somewhere
i just don't remember where right now
Chiu_Lee
0:0:1 maybe
         

_capoeira
there are 3 choices, try 'em all
Chiu_Lee
since it gave no error
goota check what got loaded
_capoeira
or cmp with a disk editor
Chiu_Lee
true
malfunc
capo: i doubt that sacrifying a goat will help in this case. sacrifice to whom? is there a coding god? :)
_capoeira
anyways, i know what to do with the dead corpse
and i know you know what i mean
malfunc
ehrm ... whatever you say
Chiu_Lee
that fixed it. so it's 0:0:1, first sector
_capoeira
sorry i made too much perl today )
i'm getting cryptic
Inode
.asm16 pushf
Chiu_Lee
but cx=2 spits error: ah=02 (address mark not found) . I should probably go to sleep
malfunc
perl can be pretty to read. especially when ppl use those implicit scalars all the time (like @_ and $_)
s/pretty/pretty hard/
_capoeira
indeed
i'm learning all the fancy options
$' $& and so on
i try not to use variables
malfunc
i only know some basic perl stuff
_capoeira
i used to reverse some compiled perl, one hell of a job
the more i learn about it, the more it seems to come from outer space
honestly
and i'm use to xtreme things
malfunc
one thing i really dislike about perl is dereferencing pointers. that looks sometimes very crappy and there are several abbreviations to do that
_capoeira
yep, it's like using hashes to address multidimensional arrays
if you wanna have fun, look at extended regexps
you can insert code into your usual regexp
malfunc
such a scripting language is very useful for manipulating text. especially due to the regexps
such stuff can be awful to code in C/C++
Chiu_Lee
note for the uncarefull (at least me): using VMWare and the floppy connected to an image file which is the bootloder concatenated with the kernel and booting from teh floppy will give in most cases an error ah=02 from int 13h since the image files size will most likely not be a multiple of 512 bytes.
4 hours down the toilet.
malfunc
that's life
         

« prev next »