--------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EDB00025Date: 09/06/97 From: SYLVAIN LAUZON Time: 05:40pm \/To: ALL (Read 1 times) Subj: masm 6.1 Anyone has seen this bug, when i type ml /? i get a fatal error but not with ml /help --- * Origin: Silicon Palace {514}432-2953 Lafontaine, Qubec (1:242/100) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EDC00000Date: 09/06/97 From: JACIN NIXON Time: 12:11pm \/To: JAMES VAHN (Read 1 times) Subj: NASM >> ...Where can I grab a copy of "NASM 0.95" JV> Which method of transfer would you prefer to use? ...file request... ... J. Nixon * Kenosha * Wisconsin * U.S.A * ___ TagDude 0.84 [Unregistered] --- * Origin: The Dogg House (1:154/357) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EDC00001Date: 09/06/97 From: SURGE Time: 12:6 am \/To: SYLVAIN LACROIX (Read 1 times) Subj: ASM tutorials Hi, About your question on which online manuel is the best. I'm not sure. It's hard to tell with so many out there and more uploaded all the time. Your best bet would probably be to run a search, and then see if there are any universitys with online manuels. Make sure that you get a f few manuels because some of them are not very through in some places. Also, a copy of Ralph Brown's Interrupt List is helpful. You can use it to get (sometimes) a more through explanation of some of the interrupts. Oh, a final note, Make sure which assembler the manuel was written for. It does make a difference. Most of the differences are cosmetic and can be altered to fit your sembler. Chris Bier Email: "Chris Bier" FidoNet: "Surge" 1:2250/7.0 -- DLG Pro v1.0 * Origin: Sage's Tower - Amiga - (618) 259-1844 (1:2250/7) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EDC00002Date: 08/29/97 From: DANIEL MORENO Time: 04:43pm \/To: BRIAN MCCLOUD (Read 1 times) Subj: mode X Brian McCloud deca a Daniel Moreno... DM>> Some time ago I wrote a little intro. There were a background (using DM>> only 2 colors for "technical" reasons ;) And there were some BIG DM>> letters flying by te screen. There were 3 "sets" of this letterls moving DM>> at the same time. Ones were red, others green and others blue (yes, very DM>> typical, i know) and they intersected betwen them giving yellow in the DM>> intersections betwen red and green letters, cyan when green and blue and DM>> so on... I did this by using bitplanes and the correct palete. I also DM>> used a hardware scrolling to move all the screen. Ah! And one note more: DM>> I did it in 640x480-16c. ;) BM> All right... specialized application of graphics features... I'm sure you BM> could do a more impressive intro in 256c... However, you've made your BM> point. Yes, but it's a quick and really nice high resolution intro that worked OK on my 486 with a TRIDENT vga. ;) | Saludetes de ComaC, Cosysop de Conecta2 BBS -- : FidoNet : 2:343/168.5 RedBBS: 757:101/666.5 Luznet: 34:93/666.5 OtakuNet: 99:343/666.5 Conecta2Net: 69:666/1.5 ... Tu compilas?...No, yo con baterias --- FMail/386 1.02 * Origin: La mejora del mundo pasa por la ilegalidad (2:343/168.5) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EDC00003Date: 09/01/97 From: DANIEL MORENO Time: 11:48am \/To: CRAIG HART (Read 1 times) Subj: SoundBlaster multiple output ?! Craig Hart deca a Daniel Moreno... >> :m Sorry... but I think you're wrong. Sb Pro DOESN'T have more than 1 >> digi- >> tal channel. What you probably read was that there were 4 diferent >> sound sour- >> ces, i suppouse, you have the FM sintetiser, the digital channel, the >> line >> in and the mic in. But SB Pro DOESN'T hardware mixing. The only SB >> wich does >> such a thing is 32 and up. CH> Yes, this is more-or-less correct. A lot of people mistake sound channels CH> for DMA channels, or just plain don't get it. Here is how a SB 16 is et CH> up: CH> INPUT CHANNELS CH> External Sound Sources CH> PC-Speaker (Mono) CH> Microphone (Mono) CH> Line-In (Stereo) CH> CD-ROM Audio (Stereo) CH> Midi-in (Stereo?) CH> On-Card Sound Sources CH> Digital Out (Stereo) CH> FM Out (Stereo?) Yes. The FM out is Stereo. It's programmed throught ports 2x0h and... wich one was the other? :m CH> The INPUT channels are ALL mixed together on the card IN HARDWARE!!!! For CH> example, you can record a WAV file of a musical CD-ROM track, but if ou CH> happen to have the microphone on at the time the resulting WAV will be CH> mixture of the music track and whatever your microphone's hearing. Well... You can select wich sources you want to record from. But it's much better in a SB16. It has a quite nice mixer. CH> The input channels are then DIRECTLY linked to the output channel, and CH> can be head at any time. For example, enable the microphone and you'll CH> hear it come thru the speakers immedialte, wether you're recording or [...] Wow!!!! What a message, man!!!! The only trouble is that i allready knew all this. O:) But surely there is someone who doesn't know and you have helped him. ;) | Saludetes de ComaC, Cosysop de Conecta2 BBS -- : FidoNet : 2:343/168.5 RedBBS: 757:101/666.5 Luznet: 34:93/666.5 OtakuNet: 99:343/666.5 Conecta2Net: 69:666/1.5 ... Purchasing Win is an Unrecoverable Application Error --- FMail/386 1.02 * Origin: Por los cromos de Yupi que llamo desde mi casita (2:343/168.5) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EDC00004Date: 09/02/97 From: OSCAR RODRIGUEZ PARRA Time: 11:23am \/To: ALL (Read 1 times) Subj: Writing to a Floppy disk Hi All! Here you are a simple way to write programs to a disk and it work when you power on your computer with the disk into floppy disk with ASM: === Cut === .model tiny .code org 100h start: xor bp,bp bucle: inc bp cmp bp,4 jz final mov ah,0 mov dl,ah int 13h mov ax,302h mov cx,1 xor dx,dx mov bx,offset inicializacion int 13h jc bucle ; We write the code to sector 1, head 0, cilynder 0 ; This program is only uses two sectors. final: int 20h ;1 SECTOR-------------------------------------------------------------------- inicializacion proc inicio label byte mov ax,7c0h cli xor sp,sp mov ss,ax sti mov ds,ax mov es,ax cld inicializacion endp ;We initialite ds,es,ss and sp for the segment 7c0 (where BIOS load the boot ;sector). ventana1 proc mov bh,0 xor dx,dx call cursor mov al,0b0h mov bl,7 mov cx,2000 call caracter ventana1 endp ventana2 proc mov ax,600h mov cx,0a07h mov dx,0f4ah int 10h sub cx,101h sub dx,101h mov bh,46 int 10h push cx mov bh,0 mov dx,cx inc dx call cursor mov al,0c4h mov bl,36 mov cx,66 call caracter pop dx push dx add dx,501h call cursor call caracter add dl,66 call cursor mov al,0d9h mov cx,1 call caracter mov bp,4 mov al,0b3h bucle2: dec dh call cursor call caracter dec bp jnz bucle2 pop dx call cursor mov al,0dah call caracter add dh,5 call cursor mov al,0c0h call caracter mov bp,4 mov al,0b3h bucle3: dec dh call cursor call caracter dec bp jnz bucle3 add dx,0ff43h call cursor mov al,0bfh call caracter ventana2 endp mensaje1 proc mov bx,46 mov dx,0a10h mov di,offset autor-offset inicio call escribe mensaje1 endp mensaje2 proc mov bx,175 mov dx,0c1bh mov di,offset carga-offset inicio call escribe mensaje2 endp ;The last procedures are for presentation siguiente proc mov ax,es add ax,32 mov es,ax xor bx,bx mov dx,bx mov al,1 mov cx,2 call leesector jmp inicializacion2 siguiente endp ;We read the next sector and jump to the zone of memory where it is store. escribe proc mov bp,di xor cx,cx mov ax,cx bucle1: inc cx scasb jnz bucle1 dec cx mov ax,1301h int 10h mov bh,0 mov dx,1900h call cursor ret escribe endp cursor proc mov ah,2 int 10h ret cursor endp caracter proc mov ah,9 int 10h ret caracter endp leesector proc xor bp,bp bucle4: push ax mov ah,0 int 13h pop ax mov ah,2 int 13h jnc fin_leesector inc bp cmp bp,3 jnz bucle4 db 0eah dw 0,0ffffh fin_leesector: ret leesector endp ; Functions that repeat more than once. autor db 'Oscar Rodriguez Parra (SISTEMAS O.R.P) 1993-1997',0 carga db 'Espere mientras se carga...',0 db 512-($-offset inicio) dup (0) ;2 sector-------------------------------------------------------------------- inicializacion2 proc inicio2 label byte inicializacion2 endp mensaje3 proc mov bx,175 mov dx,0c15h mov di,offset pulsar-offset inicio2 call escribe mensaje3 endp xor ax,ax int 16h int 19h pulsar db 'Pulse cualquier tecla para continuar...',0 db 512-($-offset inicio2) dup (0) ;2 sector-------------------------------------------------------------------- end start === Cut === You have to compile with TASM /m2 [asm file] TLINK /t [obj file] You run it with an unprotected floppy disk in your unit A: To watch the results, reset your computer with the floppy disk into unit A: When it loaded in memory, you can extract the disk from unit a: and press any key. This is a very simple way to make a semi-operative system :) email: orp@santuario.subred.org web: http://www.geocities.com/SiliconValley/Heights/1238 --- FMail/386 1.02 * Origin: Oscar Rodriguez Parra (sistemas O.R.P) (2:341/44.17) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EDC00005Date: 09/07/97 From: JAMES VAHN Time: 09:47am \/To: PAUL WANKADIA (Read 1 times) Subj: Re: Linux ASM > You're a budding kernel hacker, James? I'd never have guessed... Just fooling around. There's a lot of that to be done. > Also, I think 0x100000 is the start of the kernel (for a compressed boot). Not sure why 0x100000. Looks a lot like a round number they picked out of the air, but I'm reading that as the start of the second meg of memory. Is this some sort of index to the kernel routines, or the actual start of the kernel itself? What's in the first meg? > JV> There's a friend of yours up there: setup_idt > > Indeedily. How'd you like mine? You've forgotten that Linux's unarj is broken. I used DOS's and got a filename case conversion. The makefile fails.. A chore to reconstruct things so that linux's gcc will work. Surely you have tar or info-zip around, eh? --- ifmail-tx (i386 Linux) * Origin: 300 miles East of Seattle, WA (1:346/15.1)