--------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EAU00005Date: 06/23/97 From: MICHAEL HEID Time: 08:32pm \/To: ALL (Read 2 times) Subj: Starting Assembly /w Pascal Hello out there! Does anybody know of a good manual, doc that I could get to learn how to program in assembly?? Would be most appriciated! --- Maximus 2.02 * Origin: Digital Encounters * Kamloops BC Canada 250/374-6168 (1:353/710) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EAU00006Date: 06/19/97 From: DANIEL MORENO Time: 07:51am \/To: TOM ST DENIS (Read 2 times) Subj: Two Probs Tom St Denis deca a Daniel Moreno... DM>> DIF = SAMPLE2 - SAMPLE1 // We calculate the difference DM>> DIF = DIF * POS / 256 DM>> RESULT = SAMPLE1 + DIF TSD> So result tells me if the sample is close to sample 2? I don't quite TSD> Understand... sorry my math (in the matter) is not the best. But my DMA TSD> is playing at 11khz (or 22?) and I want to be able to copy the right TSD> bytes from the sample buffer into the mixer buffer (I.e if the dma is at TSD> 22khz and the sample is at 11khz every byte should be played twice? TSD> Right?, Thats what I want.) Wait a moment! What you are asking for is NOT how to interpolate. What you want to know is how to calculate wich byte from the instrument has to go to the mixer buffer, isn't it? Well... I suppoused you already knew this. Uhm... it's a little harder... let me remember how I did it in my player... :m One question: are you going to play MOD files or similars? I ask this be- couse in this case i'd better explain the "classic" method to calculate this. TSD> About the graphics...That's what I was thinking. What did I told you about the grafics? I can't remember. I'm active in too many areas! O:) TSD> Thanks for the help, you must know what you are talking about, you TSD> confused me that quickly.... Well... I have just coded 3 MOD/S3M players. :) (althought I'm only 17) And my last player seems to sound quite OK. One of my beta testers told me that it actually sounds with nearly the same quality as a AWE WaveTable card. :)) | 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 --- FMail/386 1.02 * Origin: (2:343/168.5) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EAU00007Date: 06/23/97 From: DANIEL MORENO Time: 08:57am \/To: EDDY THILLEMAN (Read 2 times) Subj: Tweaking SVGA 100x40 textmode Eddy Thilleman deca a All... ET> My Tseng ET4000 based videocard does has a nice 100x40 textmode, I've a ET> program included with the videocard which does put it in this mode, but ET> how would I tweak it myself (not by calling via the bios, but put the ET> values in the registers myself). How can I discover which values are ET> needed in which registers (by disassembling the included program?), and ET> how to put these values in the registers? I suppouse you can write a program wich stores the contents of the VGA registers, then calls the program to switch to this mode, and reads again the registers comparing with the previous values. That's what I did to "build" my 320x240-65536c mode. ;) | 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 --- FMail/386 1.02 * Origin: (2:343/168.5) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EAU00008Date: 06/22/97 From: JANIS KRACHT Time: 07:58pm \/To: ALL (Read 2 times) Subj: New PDN files at < TOPIC: 145 ASSEMBLY LANG. Ref: EAU00009Date: 06/21/97 From: JAN WAGEMAKERS Time: 01:46pm \/To: STEFAN VAN DER WALT (Read 2 times) Subj: Linux and assembly Hello Stefan, Stefan van der Walt wrote to Jan Wagemakers : SvdW>>> hehehe that's really not necessary... no, Linux is for SvdW>>> communication and fun, not for word processing etc. etc. JW>> Well, I don't agree with that.... but that doesn't matter, JW>> because the only thing about Linux that is important in this area, is JW>> the combination of Linux and Assembly ;-) SvdW> :) whatever... didn't know Linux had assemler support? Never SvdW> seen it. Most things under Linux are C-orinted. But it is also possible to write in assembler under Linux. At this moment I know 2 assembly-programs for Linux. 1. gas (as) that is part of the GNU-C package. It makes use of the at&t-syntax. 2. nasm that as a more intel-compatible syntax. In this area, James Vahn has posted a example of a Linux-asm-prog. written for nasm. In the Linux and assembler.028 area, Pieter de Jong have also posted some Linux-asm-examples written for the GAS-assembler. I have also posted some Linux-asm-examples in this area that I have written for the GAS-assembler in combination with GASP. Gasp can add macro capabilities to the gas-assembler. At this moment, not very spectacular examples, there are so many things to learn.... but it is fun to experiment with those things :-) SvdW> Anywaze, I tend to think 'doze has better graphical SvdW> packages, word processors etc. But Linux excells as a communication SvdW> tool, from what I've seen so far. StarOffice, Aplixware, .... but maybe, you can ask in the Linux area. I'm sure you will get some response there ;-) JW>> + Origin: - Belgi/Belgium - Internet : JanW@mail.dma.be SvdW> Se^ hello vir my suster, sy is op die oomblik in Belgie". Zuid Afrikaans. Mooie taal :-) Als ik moest weten waar jouw zuster was, en hoe ze eruit zag, dan zouw ik zeker de groeten overbrengen. SvdW> Groete SvdW> Stefan van der Walt -=[Sysop/FutureTec : Stellenbosch, South SvdW> Africa]=- Met de vriendelijkste groeten. - Jan Wagemakers - .!. Hey now, hey now now, sing This Corrosion to me .!. Hey now, hey now now, sing like a healing hand (The Sisters of Mercy) --- Terminate 4.00/Pro * Origin: - Belgi/Belgium - Internet : JanW@mail.dma.be (2:292/8133.23) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EAU00010Date: 06/21/97 From: JAN WAGEMAKERS Time: 02:17pm \/To: PAUL WANKADIA (Read 2 times) Subj: djasm Hello Paul, Paul Wankadia wrote to Jon Gentil : PW> The TASM syntax and directives appear to be quite complex. (This PW> could be because I cut my teeth with AT&T syntax and as' directives, PW> which seem to be reasonably spartan at times.) Under DOS, I make use of TASM. Under Linux I have done some experiments with gas and gasp. The tasm-syntax is not complex. The at&t syntax is not complex. They are just different, what can give some confusion..... Have a nice day, Paul. - Jan Wagemakers - .!. Hey now, hey now now, sing This Corrosion to me .!. Hey now, hey now now, sing like a healing hand (The Sisters of Mercy) --- Terminate 4.00/Pro * Origin: - Belgi/Belgium - Internet : JanW@mail.dma.be (2:292/8133.23) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EAU00011Date: 06/16/97 From: SVEN JOOS Time: 09:17pm \/To: MORTEN PERRIARD (Read 2 times) Subj: TRAN Hello Morten. 10 Jun 97 10:40, Morten Perriard wrote to Tom St Denis: MP> Hello Tom! MP> Thursday June 05 1997, Tom St Denis writes to All: TSD>> I was wondering if anyone knows anything about Trans PMODE TSD>> extenders? (Specifically version 2.51 and 3.07) MP> I have been using his extender up untill recently, when I switched to MP> Watcom C++. I liked the PMode extender alot, but I couldn't make MP> vesa2.0 with LFB work under VCPI/DPMI, so I found another extender MP> (DOS4GW) that could. hmm, have you tried pmodew out, it's a free-for-non-commercial-use dos-extender also made by tran ( but i believe it was together with someone else) that is kinda pnp dos4gw-compatible... and <20 k and quite fast ( sometimes a bit faster than dos4gw ) anyway i use it, and i am happy about it :) regards, Sven Joos a.k.a. mo6/green --- FMail 1.22 * Origin: Loc (2:292/8139.2) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: EAU00012Date: 06/20/97 From: MATIJA TERZIC Time: 05:15pm \/To: GLENN VERDINS (Read 2 times) Subj: text attribute Hello Glenn. 13 Jun 97 22:33, Glenn Verdins wrote to All: GV> How do i write a string to the screen, but being able to specify a GV> text attribute? GV> Like the Mov Ah,9 Int 21 function, only with colors? MOV AH,09 MOV AL,ASCII character to write MOV BH,display page (or mode 13H, background pixel value) MOV BL,character attribute (text) foreground color (graphics) MOV CX,count of characters to write (CX >= 1) INT 10H Greetz, Matija --- FMail 1.22 * Origin: Loc (2:292/8139.3)