--------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EBN00010Date: 07/18/97 From: BRIAN MCCLOUD Time: 06:51am \/To: JON GENTIL (Read 1 times) Subj: Bug??? JG>How come I can do this? JG> CLI JG> Mov AX, 0003 JG> Int 010 JG>I thought CLI was supposed to disable ALL interrupts. Hmmm.... No!!! CLI only disable Hardware interrupts, and is usually used when hanging the stack to prevent an unexpected Hardware interrupt from causing a stack fault. ((Cloud)) MauveCloud@juno.com * OLX 2.2 * Non-fiction often is more unrealistic than fiction. --- 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: EBN00011Date: 07/18/97 From: JON GENTIL Time: 01:58am \/To: DON GUY (Read 1 times) Subj: Bug??? Replying to a message from Don Guy to Jon Gentil, About Bug???, On Thu, Jul 17, 1997 DG> .286p DG> .model small DG> name Replying_To_A_Message_from_Jon DG> assume CS:ReplyBody :) DG> ReplyBody segment byte public DG> Jon: :-) #JG#> How come I can do this? #JG#> CLI #JG#> Mov AX, 0003 #JG#> Int 010 #JG#> I thought CLI was supposed to disable ALL interrupts. Hmmm.... DG> CLI does what you said, with respect to /hardware/ interrupts, with DG> some exception (NMIs). DG> Unless you're using it to force a hardware interrupt, the INT XX DG> instruction is more of a function call than anything else. You DG> might think of it as a shorthanded way to jump to a function which DG> uses the registers to hold the calling parameters. With the INT XX DG> instructions though, all you need to know is the function DG> number--the vector table "figures out" the address for you. I've figured it out too... Thanks. :) DG> mov ax,4C00h DG> int 21h DG> Reply ends DG> end Jon ROTFL!! :) Jon Gentil - jon.gentil@magi.station-1.com - [PGP KeyId:0x3EB376B5] [] Looking for a helping hand? There's one on your arm. --- FMail/386 1.22a+ * Origin: MagiGate MultiHub - Pekin, IL - FidoSpine Hub (1:232/211) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EBN00012Date: 07/18/97 From: JON GENTIL Time: 03:11pm \/To: SUNIR SHAH (Read 1 times) Subj: Memory! Replying to a message from Sunir Shah to Herman Schonfeld, About Memory!, On Thu, Jul 17, 1997 HS> Yes I have heard of the A20 line, I've never in all the HS> books that I've read on the subject read anything about an HS> extra 24kb. Either way, it is trivial and hardly worth the HS> trouble. (assuming it is implemented differently). SS> 64kb - 16b. And it's not trival if you ever bothered to understand SS> how the HMA worked. Squeezing 64kb is worth it. It's 1/16 of your SS> memory... that's a lot. True.. SS> Ofc, if you only like nice and clean flat memory access then who SS> cares, right? ack! Why? SS> Then again, I still use DOS5. Um, 6.22 is practically free now. Jon Gentil - jon.gentil@magi.station-1.com - [PGP KeyId:0x3EB376B5] Moderator: YOUNG_ADULT; FIDOWORK; R11TEEN [] Those who live by the sword kill those who don't. --- FMail/386 1.22a+ * Origin: MagiGate MultiHub - Pekin, IL - FidoSpine Hub (1:232/211) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EBN00013Date: 07/18/97 From: JON GENTIL Time: 03:12pm \/To: BRIAN MCCLOUD (Read 1 times) Subj: What's wrong with this??? Replying to a message from Brian McCloud to Jon Gentil, About What's wrong with this???, On Wed, Jul 16, 1997 JG>Ok, I'm writing a small bootstrap loader which loads whatever is on Sector JG>2 of a 1.44M Floppy into memory at 9000h:0000h and runs it. That program LG>is fine. JG>It doesn't seem to ever return from Int 013. That's been tested with a JG>call to the teletype output of Int 10. I'd put the TTY Code to print a * JG>before and after the Int 13 call, and it would only print one of the *'s. LG>(yes, I did preserve the registers) BM> My guess would be that some TSR program is using that memory, and BM> when whatever interrupt is supposed to trigger it happens, it goes BM> there and finds the code changed, and doesn't return properly. BM> There may be other explanations, but I can't think of any right BM> now. No, there's nothing loaded at all.. like I said, I load it from a 1.44 floppy, which I BOOT from to load the program. Nothing is loaded at all. Jon Gentil - jon.gentil@magi.station-1.com - [PGP KeyId:0x3EB376B5] [] You can't fight City Hall. But you can burn it down. --- FMail/386 1.22a+ * Origin: MagiGate MultiHub - Pekin, IL - FidoSpine Hub (1:232/211) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EBN00014Date: 07/15/97 From: SERGIO LO CASCIO Time: 01:12am \/To: HERMAN SCHONFELD (Read 1 times) Subj: Re: Copy Protect (naive quest Un giorno, Herman Schonfeld oso' discutere su Re: Copy Protect (naive quest.... MP> route dir) -Search the disc for the sectors which are destroed now MP> -Write a little routine that test your disc for the damage to be MP> exactly at this position. It's almost impossible to destroy SC>But it's very easy to crack! HS> How exactly would you crack that? I don't want to do a cracking lesson, i can tell you the theory in words: - find the code where the check is - modify it so it functions also without the key disk One good method hard to crack that comes into my mind, is to copy on those destroyed sectors data used by the software (for a game, it could be the skeme of the first level) and read it with some nonstandard port use. Saluti, Ra.\\aS / RiTUAL --- Blue Wave/DOS v2.30 [NR] * Origin: Rage BBS: jumpin' into the Italian Demo Scene! (2:335/354) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EBN00015Date: 07/13/97 From: SERGIO LO CASCIO Time: 06:05pm \/To: JEAN-FRANCOIS GOBIN (Read 1 times) Subj: Pentium Bug Un giorno, Jean-Francois GOBIN oso' discutere su protected mode.... JG> It's a TenByte ... 10 bytes ... that's used for the math copro : long JG> are in a 80 bits format. I've discovered yesterday that the bug of bugged Pentiums genertes a little bad approximation only on floating-point divisions! It means that: - only software which uses the special fpu of the p5 will run incorrectly on very few times - software that works on 486 do not make te p5 bug to appear - the error is on an approximation i.e. if i am playing a game like quake (i dont know if this game uses p5 fpu but others perhaps) 1 time every 3 hours in the worst case, the bug would color the 12363th pixel in white for a single frame I am sorry i am a little simple-minded but i'd like to buy some bugged p5 (let's have 4/5 pentiums at 300$) and play deathmach till starving!! =) Simply joking: i'd like to know what's the problem if i have a bugged p5 and i know i'll not run some sort of mathematical software or i'll not use it ti control my private collection of nuclear missles!! =) Saluti, Ra.\\aS / RiTUAL --- Blue Wave/DOS v2.30 [NR] * Origin: Rage BBS: jumpin' into the Italian Demo Scene! (2:335/354) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EBN00016Date: 07/18/97 From: JAMES VAHN Time: 09:43pm \/To: RENE HERMAN (Read 1 times) Subj: to ALL? > JV> Is there any hint that this is not a traditional Fido message? > > Hope I helped. Rene Yes you did, thanks for the info. I've played with the converter a bit, keeping the In-Reply-To: field. Hopefully you'll be able to link Mervyn's messages now. --- ifmail-tx (i386 Linux) * Origin: James Vahn (jvahn@short.circuit.com) (1:346/15.1) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EBN00017Date: 07/17/97 From: AUKE REITSMA Time: 07:42pm \/To: JON GENTIL (Read 1 times) Subj: Bug??? Hi Jon, On 16 Jul 97, 17:30, you wrote to All JG> How come I can do this? JG> CLI JG> Mov AX, 0003 JG> Int 010 JG> I thought CLI was supposed to disable ALL interrupts. Hmmm.... All interrupts _are_ disabled by cli. This, however, is interpreted in the strict original sense of _hardware_ interrupts. The int 010 you do is a call to the interrupt handler at position 010 in the list of interrupts (aka the interrupt vector). Greetings from _____ /_|__| Auke Reitsma, Delft, The Netherlands. / | \ -------------------------------------- --- GEcho 1.00 * Origin: Home by the C (Auke.Reitsma@net.hcc.nl) (2:281/400.20) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EBP00000Date: 07/11/97 From: JONAS MAEBE Time: 02:14pm \/To: TOBIAS REINHARD (Read 1 times) Subj: Switching Videomode Tobias Reinhard banged in a message to All: TR> I'm looking for docs or sources about how to switch to a extendet TR> Videomode (800*600*16m) on a S3 Trio 64 card. Does anyone have TR> that? TR> I don't want to use BIOS/Vesa! I want to access it DIRECT (via TR> IN/OUT) What's that good for? I mean, using ports you might be able to get into that mode faster, but I suppose you won't be switching modes all the time :) So the speed of the mode-setting code shouldn't matter too much. Or do you want your program to work only woth S3 cards? Anyway, the info you need can be found in the VGADOC*.* package. It includes information on a *lot* of SVGA chipsets. Cya, Gamefreak --- FMail/2 1.22 * Origin: 'To be or not to be'... That's not a question! (2:292/624.7)