| |
| |
| |
|
Page: 1 2
Comments:
<0> and of course you need the closing calling dos function 4c00 <0> put your code in a bastbin or something and paste the url here <1> ok <1> http://pastebin.com/633253 <1> Chiu_Lee, anything wrong ? <0> well... <0> I would put a label after org 100 <1> PROGRAM: <0> and put an end your_label after the end of the code segment <1> like PROGRAM: <1> and END PROGRAM <0> yup <0> and you also missed the 4c00 dos function call at the end of the program <1> errr.. same program <1> Chiu_Lee, where do i have to call it ? <2>
<2> _| _| _| <2> _|_|_|_| _| _| _| _|_| _| _| <2> _| _| _| _|_| _| _| <2> _| _| _| _| _| _| <2> _|_| _| _| _| <2> <2> woo! <2> t <2> ::: ::: ::::::: ::::::: ::::::::::: <2> :+: :+: :+: :+: :+: :+: :+: <2> +:+ +:+ +:+ +:+ +:+ +:+ +:+ <2> +#+ +:+ +#+ +#+ +:+ +#+ +:+ +#+ <2> +#+ +#+#+ +#+ +#+ +#+ +#+ +#+ +#+ <2> #+#+# #+#+# #+# #+# #+# #+# #+# <2> ### ### ####### ####### ### <3> SHM1L: what exactly are you wanting that code to do? <1> i think i solved it <1> i add ml /c /coff <1> _| _| _| <1> <2> _|_|_|_| _| _| _| _|_| _| _| <1> <2> _| _| _| _|_| _| _| <1> <2> _| _| _| _| _| _| <1> oops <1> LINK : fatal error LNK1221: a subsystem can't be inferred and must be defined <1> this is the new error <2> hehehe <2> see? you love me! <2> everybody loves me <2> ###### ## ##### <2> # # # # <2> ##### # # # <2> # ###### # <2> # # # # <2> ###### # # # <2> _ _ _ <2> | | (_) | <2> ___| |__ _| |_ <2> / __| '_ \| | __| <2> \__ \ | | | | |_ <2> |___/_| |_|_|\__| <2> <1> you are a talent boy <0> SHM1L .. you let him speak to you like that? <2> :| <2> that's not fair, tio <1> Chiu_Lee, i dont realy care <1> little boys do not scares me <1> ;) <4> dont spam the channel, it makes me grumpy, k tnx <0> toro .. you let him speak of you like that? <2> nah, i cant be arsed <2> tio is grumpy so all be nice <2> oooh <2> beer
<2> SHM1L: eww, you perv <1> toro, will you teach me drawing technix ? <2> no <5> hello.. i was wondering.. is the master boot record identical for all floppys that have been formatted with fat12? <0> according to the specs .... never mind. sure. it's identical. <0> they're identical. bad grammer. <1> all i want is to make a simple program and be able to make a com/exe out of it <1> masm dosn't work for me :( <5> so if garbage was written to the mbr of a floppy.. and you knew it was fat 12 before.. you could recover it by re-writing ANY fat12 mbr to it? <3> floppies have a boot sector more like a partition boot record than an mbr <5> i see.. <3> things that will differ are the Volume Label, maybe the Volume ID, Hidden Sectors could be another one <5> yea there're slight differences.. <5> suppose i backed up the boot record of a floppy.. and only the boot record.. and then wrote garbage to one on the floppy.. is it possible to just write the backed up one back to it and everything would be okay? <3> depening of the disk contents, you could rework a pbr that should work, but it could be pretty difficult to begin with <3> "depending on" even <3> yeah <5> i see <3> as long as it was only the first 512 bytes you wrote garbage to <5> right.. <5> cuz that's one sector? <3> yes <5> cool <5> hm.. <5> how would you write it though.. because there's no filesystem on the floppy anymore <3> well, you could use a tool like dd <3> or <4> int 13h <5> 03h? <3> yes <3> something like.... al = 1, ch = 0, cl = 1, dh = 0, dl = 0, es:bx should point to your backup <5> okay i think i got it.. <5> what does it mean by bit 6-7 of CL? <5> CL = sector number 1-63 (bits 0-5) high two bits of cylinder (bits 6-7, hard disk only) <2> CL is 8 bits wide. 6 and 7 means the most significant bit and the next one to it <5> ohh okay so the cylinder number is extended from CH to the high two bits of CL? <5> yea <5> so the cylinder number occupies 10 btis? <5> *bits <5> i'm looking at this page: http://home.teleport.com/~brainy/interrupts.htm <5> close to the end <5> it seems like the cylinder number is 76543210 76 <5> in terms of bit numbers <5> well anyway.. i guess i have to verify each write that it does since it's directly talking to bios.. <5> thanks a bunch for the help guys.. <5> gonna try this stuff out.. <5> cya. <1> how do i make an empty line in a string ? <1> 24h use to end the string <1> what is used to make an empty line ? <4> \r\n <1> tiocsti, \n = c.... <1> ? <3> \r == 0Dh, \n == 0Ah <4> a lot of ***emblers support c style escapes <1> why when i do the following routine it does not realy works... <1> CHECK: <1> CMP AL,'1' <1> JE MSG1 <1> CMP AL,'2' <1> JE MSG2 <1> ? <4> whats the error? <1> no error, it just works wrong <4> well that code is fine, maybe something else is wrong <3> use JZ instead of JE <4> jz and je are the same instruction <3> thanks, didn't know that <1> Inode, why ? <3> well <3> because if a CMP works out that first and second operand are equal <3> the zero flag is set (zf = 1) <1> ok
Return to
#asm or Go to some related
logs:
#linux lataifas.ro #AllNiteCafe thripper zejziet tan nisa download norton guide #java #AllNiteCafe #php bagaboante cu webcam
|
|