--------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: F5G00082Date: 04/14/98 From: HUGH NOLAND Time: 01:25pm \/To: BRYAN SCHWARTZ (Read 1 times) Subj: OP codes x86 A86.DOC has these. --- Maximus/2 3.01 * Origin: Madman BBS * Chico, California * 530-893-8079 * (1:119/88) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: F5G00083Date: 04/14/98 From: HUGH NOLAND Time: 01:28pm \/To: BRYAN SCHWARTZ (Read 1 times) Subj: OP codes x86 I mentioned the docs for the A86 assembler. One fast and easy way to get op codes is to assemble whatever instructions you're interested in with DEBUG, and then unassemble. --- Maximus/2 3.01 * Origin: Madman BBS * Chico, California * 530-893-8079 * (1:119/88) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: F5G00084Date: 04/16/98 From: TIM LILJENDAHL Time: 12:19am \/To: JASEN BETTS (Read 1 times) Subj: MULTIPLY Hejsan JB> what's the trick to multiply by 5 using LEA JB> I read about it a few years ago but I've forgotten how it works. lea eax,[eax+eax*4] --- * Origin: (2:236/213) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: F5G00085Date: 04/14/98 From: KURT WISMER Time: 02:05pm \/To: BRYAN SCHWARTZ (Read 1 times) Subj: OP codes x86 -=> Mocking Bryan Schwartz to All <=- BS> Can anyone tell me where i can obtain the HEX opcodes for the BS> 8086 instruction set? I'll take binary if hex isn't available. BS> To my surprise, none of my asm books have a list of op codes for BS> the instructions set! I just assumed they were somewhere, but no luck. try ralph browns list... i do believe there is an optcodes.txt in amongst the files... ... give me an origami afterworld .. so i can fold eternally... --- TGWave v1.20.b09 * Origin: fks Online! * Mississauga, ON Canada (1:259/423) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: F5G00086Date: 04/16/98 From: JASEN BETTS Time: 07:44pm \/To: FERNANDO ARIEL GONT (Read 1 times) Subj: Timing of a fade rour > I think a time ago I read something like that reading from a specific > port you could get a precise delay on any hardware, but I don't > remember it well enough to apply it.... Simply /write/ AL to port 80h. It accomplishes nothing but a small and consistant delay. * Origin: 300 miles East of Seattle, WA (1:346/3@fidonet) --- EzyQwk V1.20 01fa018d * Origin: CSS Brisbane, Qld, Australia. (61-7-3367-3890) (3:640/350) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: F5G00087Date: 04/17/98 From: JASEN BETTS Time: 03:49pm \/To: JAMES VAHN (Read 1 times) Subj: Timing of a fade rour > I think a time ago I read something like that reading from a specific > port you could get a precise delay on any hardware, but I don't > remember it well enough to apply it.... JV> JV> Simply /write/ AL to port 80h. It accomplishes nothing but a small JV> and consistant delay. I need too to get a timing delay but i don't want the delay has to stop there and continue after. I need something that checks for a specified lapsed time (second and ms).I used int1c but it seem not reliable under multitask as i would like it to be. * Origin: CoM BBS (merely seeking the truth) (1:167/146) --- EzyQwk V1.20 01fa018d * Origin: CSS Brisbane, Qld, Australia. (61-7-3367-3890) (3:640/350) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: F5G00088Date: 04/19/98 From: JASEN BETTS Time: 01:20pm \/To: FERNANDO ARIEL GONT (Read 1 times) Subj: Timing of a fade routine FA> I made a fade routine, and I want to make the fade time independent FA> from hardware... I mean, up to now, I've used loops to make delays, but FA> this makes the routine depend on the hardware you're running it on... FA> FA> To hook int 1ch doesn't do, as it oscillates at a frequency of 18.2 FA> Hz..... FA> I think a time ago I read something like that reading from a specific FA> port you could get a precise delay on any hardware, but I don't FA> remember it well enough to apply it.... FA> FA> Any solution? FA> FA> NOTE: I don't want to reprogram the 8253 chip... I'm glad that you don't it's real easy to mess things up, like I've seen commercial software do (leaderboard golf...) . Some Ideas... * You could try (a loop) reading the _clock_ chip (AKA CMOS), it updates the 100ths of a second field 100 times a second :), * or you could read the 8253 timer chip's registers which update over 100000 times a second. (example code in C snippets u_clock.c) * or you could do a "speed test" (involving a loop and int 1ch) when your program starts and use that to calibrate your timing loops, (this is what borland does for delay()) * or maybe you could turn on the 1024Hz interrupt (int 70h) from the clock chip. (80286 or better required) * since this is for a fade you could use the retrace interrupt (or poll the video hardware to detect retrace) bye. --- EzyQwk V1.20 01fa018d * Origin: CSS Brisbane, Qld, Australia. (61-7-3367-3890) (3:640/350) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: F5G00089Date: 04/11/98 From: JASEN BETTS Time: 06:34pm \/To: ALL (Read 1 times) Subj: Timing of a fade routine Hullo All , hope you are having a nice day!! I made a fade routine, and I want to make the fade time independent from hardware... I mean, up to now, I've used loops to make delays, but this makes the routine depend on the hardware you're running it on... To hook int 1ch doesn't do, as it oscillates at a frequency of 18.2 Hz..... I think a time ago I read something like that reading from a specific port you could get a precise delay on any hardware, but I don't remember it well enough to apply it.... Any solution? NOTE: I don't want to reprogram the 8253 chip... -=> Yours sincerely, Fernando Ariel Gont <=- e-mail: FGont@siscor.bibnal.edu.ar e-mail "Good Stuff!" _*Magazine*_ : gstuff@siscor.bibnal.edu.ar FidoNet: 4:900/470.10 Sk-Network (Argentina): Murdock's Point (200:201/300.27) * Origin: If a doctor examines me, I'll turn out to be an idol! (4:900/470.10) --- EzyQwk V1.20 01fa018d * Origin: CSS Brisbane, Qld, Australia. (61-7-3367-3890) (3:640/350) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: F5G00090Date: 04/18/98 From: MATIJA TERZIC Time: 09:06am \/To: JASEN BETTS (Read 1 times) Subj: OS making Hi Jasen Betts, hope you are having a nice day MT>> I have tried using the bios int 10 but it doesn't work. JB> strange, debug tells me this is how msdos prints "insert another disk nd JB> press any key" they use 10,a. JB> Could be that there is somthing wrong with my boot sector code. Matija. ... A chicken doesn't stop scratching just because the worms are scarce. --- Terminate 5.00/Pro * Origin: Don't know. (2:292/8139.3) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: F5G00091Date: 04/18/98 From: MATIJA TERZIC Time: 09:07am \/To: JASEN BETTS (Read 1 times) Subj: OS making Hi Jasen Betts, hope you are having a nice day JB> FWIW, MSDOS uses int 10,ah=0a Yeah you're right, than there must be somthing wrong with my boot sector code. Matija. ... "What makes the Muskrat guard his musk? - Courage!" --- Terminate 5.00/Pro * Origin: Don't know. (2:292/8139.3)