--------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: ED400003Date: 08/31/97 From: GARETH MARSHALL Time: 05:20pm \/To: PAUL WANKADIA (Read 1 times) Subj: PUNIX -=> Quoting Paul Wankadia to Herman Schonfeld <=- PW> I'm assuming that, at this stage, you have not made the pilgrimmage to PW> my PUNIX Web page to discover just what I HAVE done in relation to all PW> this... What's the URL? cya Gareth --- Gareth Marshall And the Word became flesh, and tabernacled among us; and we beheld his glory ... Vegetarian: Indian word for "lousy hunter." --- Blue Wave/DOS v2.20 [NR] * Origin: FutureTec BBS * Stellenbosch * (021) 887 5970 * (5:7102/119) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: ED400004Date: 09/02/97 From: PAT PRIDGEN Time: 11:43am \/To: ALL (Read 1 times) Subj: NASM - Where to find. My Apologies to whomever it was that asked me where to find NASM, I'm on a different computer right now, and don't have your name but...I picked up NASM on the Simtelnet Archives on the Internet. The site I used just happened to be in Belgium, but it will be on any of the Mirror sites. Getting ftp://ftp.tornado.be/pub/simtelnet/msdos/asmutl This is the executables. Aug 11 02:12 nasm095.zip 311Kb This file is the source code in 'C' Aug 11 02:12 nasm095s.zip 469Kb Hope that helps whoever asked out. . [ Pat Pridgen - La Grande, Oregon ] . pat.pridgen@svis.org *SignIt 2.0 #001* --- FLAME v1.1 * Origin: Purgatoire BBS, 719-846-0140, Trinidad, CO, V.34 (1:15/7) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: ED400005Date: 09/02/97 From: JAMES VAHN Time: 09:27pm \/To: PAUL WANKADIA (Read 1 times) Subj: Re: Linux ASM > JV> An article in Linux Journal (#42, page 58) describes exception > JV> handling in the next generation of kernels. > > Huh? Jan's been dabling in Linux assembly; the article gets into the meat and potatoes of the upcoming kernel. Info like this will eventually allow (me) to understand how to use entries like these, found in /System.map.... 0010017f t check_x87 001001aa t setup_idt 001001c7 t rp_sidt 001001e0 t setup_paging 00101000 T swapper_pg_dir 00102000 T pg0 00103000 T empty_bad_page 00104000 T empty_bad_page_table There are 3200 lines of this stuff. I can only wonder what it's for and how to use it... Do you suppose it's a MAP to the kernel routines? ;-) There's a friend of yours up there: setup_idt --- ifmail-tx (i386 Linux) * Origin: 300 miles East of Seattle, WA (1:346/15.1) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: ED400006Date: 09/02/97 From: JAMES VAHN Time: 09:51pm \/To: PAUL WANKADIA (Read 1 times) Subj: Re: NASM > PP> Is anyone using NASM 0.95? How does it compare to other Assemblers > PP> that you have tried. > > AFAIK, it assembles ASM source and yields an object file that can be > linked by ld. It uses Intel syntax, whereas as tends to use AT&T > syntax. I dunno whether you'll have to dload ld to link your object > code or not. Running it as a DOS executable it needs only the '-f bin' parameter to produce .COM files directly. Dunno if it is capable of memory arrays or things of that sort, but it seems like an easy assembler to learn and the price is right. ; assemble: nasm -f bin -o hello.com hello.asm ; ; bits 16 section .text org 0x100 main: mov dx, msg mov ah,9 int 0x21 ret msg: db 'Hello World' ,0x0D,0x0A,0x24 --- ifmail-tx (i386 Linux) * Origin: 300 miles East of Seattle, WA (1:346/15.1) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: ED500000Date: 09/03/97 From: MATHIEU BOUCHARD Time: 10:49pm \/To: CRAIG HART (Read 1 times) Subj: EIDE interface CH> Are you sure you mean the DOS limit? DOS 5.0 and above's only 'limit' is CH> 2Gb per drive letter. Also, DOS doesn't access the HDD directly, it uses CH> the BIOS to do so. 2gb in a fat16 also means that you use 32k clusters, which in turn means that you probably will waste 3/4 of your hard disk, unless you store mostly large files on it, which is unlikely. and 2gb*(1-3/4) = 500 megs. :-/ having 6500 dos files on my hard disk, i'd waste nearly 100 megs. this is a small hard disk. if my average filesize stays the same while i install more programs, i'd end up wasting like 40% of the hard disk (i'm currently using a 234 meg for dos and a 406 meg for unix) matju --- Terminate 4.00/Pro * Origin: The Lost Remains Of SatelliteSoft BBS (1:163/215.42) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: ED500001Date: 09/03/97 From: MATHIEU BOUCHARD Time: 11:25pm \/To: GARETH MARSHALL (Read 1 times) Subj: Interrupt list MB>> If you don't have the interruptlist by Ralf Brown, either get it now MB>> or read it through http. GM> ^^^^ GM> http://??? but of course... matju --- Terminate 4.00/Pro * Origin: The Lost Remains Of SatelliteSoft BBS (1:163/215.42) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: ED500002Date: 09/03/97 From: MATHIEU BOUCHARD Time: 11:34pm \/To: WOJCIECH KUK (Read 1 times) Subj: SoundBlaster multiple output ?! MB >> but, on the SB, you can't input and output at the same time (& that's MB >> pretty bad imho) WK> :))))) What about (FULL)_DUPLEX_? WK> There are 2 ways to do this. WK> 1) in direct mode (works even on SBPro) Direct mode? you mean, 1 byte at a time? you actually tried it and it works? WK> 2) using 2 DMA channels (newest cards) i wasn't talking about the newer.. sorry. WK> ... and you can make real-time effects ;) that's why i once tried to do that. matju --- Terminate 4.00/Pro * Origin: The Lost Remains Of SatelliteSoft BBS (1:163/215.42) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: ED500003Date: 09/03/97 From: BO SCHREURS Time: 11:33pm \/To: ALL (Read 1 times) Subj: Array of Structures * Crossposted from: comp.lang.asm.x86 Hi, I've got a question about placing data in a structure array. In TASM and MASM one can define a structure (i.e. Fields), One can also define an array (i.e. Array) consisting of let's say 10 Fields structures. Each element in the array is such a structure (see code below). Now I want to fill all the elements within the array with data. The code below does it for the first element of the array. But how do I fill the second, third....tenth element? In this example the size of the structure is known, and we could work with offsets and such, but let us assume we don't know the size of the structure upfront... I read several Assembly books, but found no answer there Only the Microsoft Macro Assembler Bible told me how to set up a structure array, but not how to fill it with data. Can someone tell me how that is accomplished? Thank you for your attention. Bo. ps, the code below compiles and runs ok using Turbo Assembler. -------------------------------- Code ---------------------------------- IDEAL MODEL small STACK 256 DATASEG Struc Fields Field1 DB 7 dup (" ") Field2 DB 1 dup (0) Field3 DB 1 dup (000h) ends Array Fields 10 dup (<>) CODESEG Main: mov ax, @data mov ds, ax mov [Array.Field1], "A" mov [Array.Field2], 1 mov [Array.Field3], 001h xor ax, ax mov ah, 04Ch int 21h END ------------------------------- End Code ---------------------------------- Programming using Windows calls, is like installing a radio in your car and say "look I've constructed a car". If you really want to construct your own "car" use DOS calls. --- Platinum Xpress/Win/Wildcat5! v2.0 * Origin: STack bbs, Hertogenbosch, 073-6901425, node (2:284/520)