--------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EGT00008Date: 12/22/97 From: ARNOUD BAKKER Time: 07:34pm \/To: PETER MAGNUSSON (Read 1 times) Subj: Code in Boot Sector Peter Magnusson wrote in a message to Arnoud Bakker: AB> Just encrypting the MBR will do the trick (user on other AB> disk can't read your partitions then) PM> Pros will be able to analyse the disk and assume the correct MBR, PM> right? So it only stops the common "cracker"... Pros can not be stopped. An AMI bios with a non-removable battery is a tough one... But something on the mbr can always be overridden using another disk and grabbing the goodold disassembler... Met vriendelijke groeten, Arnoud Bakker Email : arnoud@dds.nl --- * Origin: Just Another BBS! 070-3240430, [12:00-24:00] (2:281/411) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EGT00009Date: 12/22/97 From: ARNOUD BAKKER Time: 07:37pm \/To: SAM IZZO (Read 1 times) Subj: Memory Allocation Sam Izzo wrote in a message to All: SI> and TASM, and need to allocate memory, but whenever I try it gives SI> me the error code for 'not enough memory'. Is it something to do SI> with my programs being .COM files? Do they need to be .EXEs? I SI> tried compiling to .EXE with TASM, but it still didn't work. What SI> am I doing wrong? First you'll have to release some of the memory you allready got from DOS, but wich you will not need. I can't give you an example, perhaps there is something in the snipets? Met vriendelijke groeten, Arnoud Bakker Email : arnoud@dds.nl --- * Origin: Just Another BBS! 070-3240430, [12:00-24:00] (2:281/411) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EGT00010Date: 12/22/97 From: BRIAN MCCLOUD Time: 06:21am \/To: ROBERT GLODT (Read 1 times) Subj: getting pixel color... RG>ok, I need to know how to get the color of a pixel in 1024x768 256 color RG>mode. I'm using a SVGA256.BGI driver. If ya know how to do this in this RG>mode PLEASE, reply ASAP! Have you tried GetPixel? I suspect you have, which is why you're asking ere. If so, my recommendation is to scrap BGI, since the function calls were designed to run in a 16-bit color screen, and find VGAKit, which includes ode for many SVGA cards (and is thoroughly designed for 256-color modes) ((Cloud)) MauveCloud@juno.com * OLX 2.2 * It's only a hobby ... only a hobby ... only a --- PCBoard (R) v15.3/M 10 * Origin: Next time, Dial The Wrong Number! (209) 943-1880 (1:208/205) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EGT00011Date: 12/23/97 From: SCOTT MCNAY Time: 03:28am \/To: MARTIJN VAN DE STREEK (Read 1 times) Subj: pure Hex Programming *** Martijn van de Streek wrote in a message to Peter Magnusson: MvdS> 8086 was in the first IBM XTs. MvdS> But then Intel came with the 8088 (the 8086 SX if you wish), As I recall hearing (reading ;), the 8086 indeed came out before the 8088, but it was never used in an XT or PC. If the 8086 was in the original XT's and Intel THEN came out with the 8088, then that implies that the PC's must have come with the 8086 also, which is certainly incorrect; I've seen MANY 8088 CPU's; I don't recall ever seeing a 8086, even in those PS/2's that came with them (very compact design; the display electonics were pretty much in the way of everything when working on the guts, as I recall) --Scott. --- timEd 1.01 * Origin: Wizard's, 254-554-2146, Abacus PLUS, 903-3097 (1:395/11) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EGT00012Date: 12/23/97 From: CHRISTIAN IVERSEN Time: 05:15pm \/To: ALL (Read 1 times) Subj: How to's (again ;) Hello everybody I've the one who's been asking insane quesions for the last few days. ;) So, instead of saying i didn't mean it i'll just give you a couple more ;) If you plan to just guess on a single of them, then keep me informed ;) here go(es) How do you write to a specific byte in memory in Dos?? And... How do you write to a specific byte in memory in Windows(95) ?? And... How do you make Indirect Adressing with Delphi's built-in assembler ?? And... Does the video memory start at $A000 on all gfx. cards?? And... What is the fastest way (if there are any diffence) to compary a register with the value zero. And... Are anybody here an expirienced windows-programmer?? (they should be more able to come with answers to some of the questions) And... Not ;) No more here GoodByte Christian Iversen --- Terminate 4.00 * Origin: I'm the easter bunny ;) (2:238/52.112) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EGT00013Date: 12/23/97 From: CHRISTIAN IVERSEN Time: 05:28pm \/To: JAMES VAHN (Read 1 times) Subj: Re: guides Den 23-Dec-1997 Rbte Jeg Helt Vildt Til James Det Var Om Re: guides Og Ld Sdan Her: >> i ahve been looking for a good guide on assembly language and have >> come up with a few can anyone recomend any others? JV> Look around for ASM-TUT.ZIP, HELPPC21.ZIP and Ralf's List. Where can you get those ?? Med Venlig Hilsen: Christian Iversen. --- Terminate 4.00 * Origin: When did you last warm yourself with a Terminate! (2:238/52.112) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EGT00014Date: 12/22/97 From: JAMES VAHN Time: 07:12pm \/To: JAN WAGEMAKERS (Read 1 times) Subj: Re: leal > TT> I also read that it ran fine on James Vahn's machine.. > Yes. I have compiled another version of my Linux-kernel (2.0.30), > and now it doesn't generated a seg-fault. But I have (see a > previous message of me) some other problems now..... And like a kid with a new toy, I've been playing some more.. From what I've been finding is that while most libc calls are straightforward in their useage of the stack, ctime isn't. Further, it seems that ECX and EDX are usually modified on return from calls and meaningless, while EAX contains meaningful data (a pointer to the last result?).. EBX seems unchanged. EAX can be used to return an exitcode but I'm not sure of the format- experiments with gdb have been as confusing as usual. ; nasm ddate.asm ; gcc ddate.o -o ddate global main extern time extern ctime extern printf section .text main: push ebp ;Save these. mov ebp,esp ; sub esp,4 ;Adjust stack. push esp ;Begin to build a string call time ; on the stack for printf. add esp,4 mov eax,esp ;Find our data on the stack. push eax ; call ctime ;Convert time to ASCII. add esp,4 ;Adjust stack. push eax ;Finish the printf string. push dword .printdec ; call printf xor eax,eax ;Exitcode 0. mov esp,ebp ;Clean up and pop ebp ; exit. ret section .data .printdec db "===========>>> %s",0 --- ifmail-tx (i386 Linux) * Origin: jvahn@short.circuit.com (1:346/15.1@fidonet) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EGT00015Date: 12/22/97 From: JAMES VAHN Time: 06:34pm \/To: CHRIS BERKHOUT (Read 1 times) Subj: Re: Moving things in ASM > mov ah,b[var] > mov al,b[var+1] > var dw 0102Fh <...> > AX = 0201h, aren't they meant to do the same thing ? Nope, little endian. AX = AL AH --- ifmail-tx (i386 Linux) * Origin: jvahn@short.circuit.com (1:346/15.1@fidonet) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EGT00016Date: 12/22/97 From: TIM HUTZLER Time: 02:56pm \/To: MATIJA TERZIC (Read 1 times) Subj: Re: OS -=>Quoting Matija Terzic to All <=- MT>Hello All. MT>I was wondering if anyone could told me how to make a MT>bootsector that loads system files (for example: ibmio.com MT>and ibmdos.com). And how to make ibmio.com and ibmdos.com. MT>I have already made a bootsector but it only writes a MT>message that this disk is not bootable, let me show it to MT>you: [...] Might I suggest that you read the a boot record from a system enabled floopy and disassemble it. It will contian the information you need. One thing I thought of doing was to program the boot record to load the systems files off the 'C' drive, thus saving time. But, I boot off floppies so rarely, that it's never been worthwhile to pursue it. good luck! ___ Blue Wave/QWK v2.12 --- Maximus/2 3.01 * Origin: Madman BBS * Chico, California * 530-893-8079 * (1:119/88) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EGT00017Date: 12/23/97 From: SCOTT MCNAY Time: 10:55am \/To: DARRYL GREGORASH (Read 1 times) Subj: pure Hex Programming *** Darryl Gregorash wrote in a message to Scott McNay: DG>> There were many 8086-based machines, but were not popular DG>> relative to the 88 systems because they required 16-bit ^^^^^^^^^^^^^^^ DG>> interface cards in a day when the 16-bit interface card ^^^^^^^^^^^^^^^ DG>> was SM> Negative; they required that the motherboard be designed to SM> support it; before the 286, most manufacturers didn't want SM> to go to the extra expense of designing the more complex SM> boards that this required, when they could get nearly the SM> same performance with the 8088. DG> Like I said, there were many 86-based machines. After that, DG> all you said was what I said.. of course the motherboard had DG> to be designed for it, you cannot drop a CPU with a 16-bit DG> data bus interface into a motherboard with an 8-bit data bus DG> and expect anything to work. You said above that the 8086 machines REQUIRED 16-bit cards, which is untrue, unless you were accidentally using that term to refer to the motherboard. --Scott. --- timEd 1.01 * Origin: Wizard's, 254-554-2146, Abacus PLUS, 903-3097 (1:395/11)