--------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: ECD00001Date: 08/06/97 From: DAVID MOHORN Time: 11:22pm \/To: ALL (Read 1 times) Subj: Microsoft C Library I have a C library I bought that is apparently is Microsoft C format. I am using Borland C++ 3.1. Does anyone know of a program that can read a Microsoft .lib file and convert it to something Borland C can use? Any help would be appreciated. ...david --- QMPro 1.53 Second star on the right and straight on to morning... * Origin: Selective Source Virginia Beach, VA (757)471-6776 (1:275/102) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: ECD00002Date: 08/07/97 From: FRANOIS FUSTIN Time: 10:59pm \/To: KURT WISMER (Read 1 times) Subj: question about int 13h.. Hi Kurt Wismer, hope you are having a nice day. Saturday, 2 August 1997 18:41:58, Kurt Wismer wrote to All Subject: question about int 13h.. KW> ok, i have a quick question about something my source of info KW> doesn't explicitly state... KW> int 13h, function 8h returns the number of tracks and the KW> number of sectors per track in cx... it also seems to return KW> something in ax which my info doesn't make mention of but what KW> seems to be just the number of sectors per track all by itself... KW> i was wondering if that is what is actually happening or if it KW> was just a coincidence... i certainly wouldn't mind dropping the KW> three bytes needed for and cx, 3f if i could just get the number i KW> want from ax... I see in the Ralf Brown's interrupt list that AX is set to 0 if there is no problem. Else it contains the error number. .!. He who smiles in a crisis has found someone to blame. --- Terminate 5.00 UnReg * Origin: Franois/Point 12/Empire Alpha(065/677065) (2:293/2807.12) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: ECD00003Date: 08/07/97 From: FRANOIS FUSTIN Time: 11:01pm \/To: ALL (Read 1 times) Subj: V86 et Protected mode Hi All, hope you are having a nice day. Is there somebody can explain me the difference between V86 mode and the protected mode? (excuse me for my english, i'm writing from belgium and am not very good) -=> Yours sincerely, All <=- .!. Human Intelligence. The greatest oxymoron ever! --- Terminate 5.00 UnReg * Origin: Franois/Point 12/Empire Alpha(065/677065) (2:293/2807.12) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: ECD00004Date: 08/08/97 From: JAMES VAHN Time: 05:29pm \/To: MATHIEU BOUCHARD (Read 1 times) Subj: Re: Constant speed > JV> As far as I know since Debian 1.2 and up, but nasm-0.93 and needing to > JV> be upgraded. > > ah, was thinking about Slackware, actually. I know you were. I was just trying to be subtle in correcting the error of your ways.. (gd&r ;-) --- ifmail-tx (i386 Linux) * Origin: 300 miles East of Seattle, WA (1:346/15.1) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: ECD00005Date: 08/05/97 From: JAN WAGEMAKERS Time: 08:28am \/To: JON GENTIL (Read 1 times) Subj: About : X-Windows - Linux - Asm - Hello Jon, Jon Gentil wrote to James Vahn : JG> Is there a programming library for X-Windows? I've been kinda JG> gathering info about Linux, and was wondering. Below I show you the beginning of my X-Windows-Linux-Asm experiments. It's just a beginning, and there is a lot that we have to learn. Maybe, together, we can create some nice macro's to write beautiful X-Windows-Prog's? ;-) ___xwin.s__________________________________________________________________ .include "/home/jan/assembler/include/xwindows.asm" .globl main main: movl $2,blk movl $3,wht _openwindow $256,$500 pushl $50 call sleep addl $4,%esp ret .END ___________________________________________________________________________ ___/home/jan/assembler/include/xwindows.asm________________________________ #Hier dient nog veel bekeken aangepast, en bestudeert te worden. #Maar, kom het is al een begin h ;-) #OpenWindow : Call OpenWindow .err_disp: .string "Cannot open display\n" OpenWindow: pushl %ebp movl %esp,%ebp subl $100,%esp pushl $0 call XOpenDisplay addl $4,%esp # movl %eax,%eax movl %eax,disp cmpl $0,disp jne .Display_Is_Open pushl $.err_disp call printf addl $4,%esp pushl $1 call exit addl $4,%esp jmp .einde .Display_Is_Open: movl disp,%eax movl disp,%edx movl 132(%edx),%ecx movl %ecx,%edx sall $2,%edx addl %ecx,%edx movl %edx,%ecx sall $4,%ecx movl 140(%eax),%eax movl 8(%eax,%ecx),%edx movl %edx,Root movl disp,%eax movl 132(%eax),%edx movl %edx,scr movl disp,%eax movl scr,%ecx movl %ecx,%edx sall $2,%edx addl %ecx,%edx movl %edx,%ecx sall $4,%ecx movl 140(%eax),%eax movl 56(%eax,%ecx),%edx movl %edx,blk movl disp,%eax movl scr,%ecx movl %ecx,%edx sall $2,%edx addl %ecx,%edx movl %edx,%ecx sall $4,%ecx movl 140(%eax),%eax movl 52(%eax,%ecx),%edx movl %edx,wht movl disp,%eax movl scr,%ecx movl %ecx,%edx sall $2,%edx addl %ecx,%edx movl %edx,%ecx sall $4,%ecx movl 140(%eax),%eax movl 40(%eax,%ecx),%edx movl %edx,vis movl blk,%eax pushl %eax movl blk,%eax pushl %eax pushl $0 movl height,%eax addl $2,%eax pushl %eax movl width,%eax addl $2,%eax pushl %eax pushl $0 pushl $0 movl Root,%eax pushl %eax movl disp,%eax pushl %eax call XCreateSimpleWindow addl $36,%esp # movl %eax,%eax movl %eax,win # movl win,%eax pushl %eax movl disp,%eax pushl %eax call XMapWindow addl $8,%esp pushl $0 movl disp,%eax pushl %eax call XSync addl $8,%esp leal -92(%ebp),%eax pushl %eax pushl $0 movl win,%eax pushl %eax movl disp,%eax pushl %eax call XCreateGC addl $16,%esp movl %eax,%eax movl %eax,fg leal -92(%ebp),%eax pushl %eax pushl $0 movl win,%eax pushl %eax movl disp,%eax pushl %eax call XCreateGC addl $16,%esp movl %eax,%eax movl %eax,bg movl wht,%eax pushl %eax movl fg,%eax pushl %eax movl disp,%eax pushl %eax call XSetForeground addl $12,%esp movl blk,%eax pushl %eax movl bg,%eax pushl %eax movl disp,%eax pushl %eax call XSetBackground addl $12,%esp .einde: movl %ebp,%esp popl %ebp ret .comm disp,4,4 .comm Root,4,4 .comm win,4,4 .comm vis,4,4 .comm scr,4,4 .comm fg,4,4 .comm bg,4,4 .comm blk,4,4 .comm wht,4,4 .comm width,4,4 .comm height,4,4 .MACRO _openwindow x y # start _openwindow pushal movl \x,width movl \y,height call OpenWindow popal # end _openwindow .ENDM ___________________________________________________________________________ as xwin.s -o xwin.o gcc xwin.o -o xwin -lX11 -L/usr/X11/lib or (less typing-work ;-) gcc xwin.s -o xwin -lX11 -L/usr/X11/lib Have a nice day, Jon. - Jan Wagemakers - .!. Life is short and love is always over in the morning (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: ECD00006Date: 08/06/97 From: TOM TORFS Time: 04:54pm \/To: GARY SMITH (Read 1 times) Subj: 3D MATH Gary Smith wrote in a message to Doran Moppert: > America of cou > which seems to like arbitrary scales =) GS> Other arbitrary units of measurement are meters, grams, and GS> Centigrade degrees, which Americans don't care for at all. Of course all units of measurement are arbitrary to a certain degree, but at least these units have logical relations to each other; for example one kg is the mass of 1 liter of clean water, one Newton is the force required to give an object of 1 kg mass an acceleration of 1 meter per second, etc. The fact that (most/some/all - pick one) Americans don't care for it, IMO says nothing about the quality of the system (actually, it might be an argument pro ;-) ). Allright, allright; back to assembly language now... greetz, Tom tomtorfs@mail.dma.be --- timEd/2 1.10+ * Origin: 80X86 BBS 32-15-24.62.32 V.34/V.FC (24h/24h) (2:292/516) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: ECD00007Date: 08/08/97 From: DAVID KIRSCHBAUM Time: 09:49am \/To: JIM TUCKER (Read 1 times) Subj: tracer.asm (1/6) > Tom Torfs said: >>Originally-To: ALL >>--- >> >>>>>>>>>>>> CSplit: Version 2.2 >>>>>>>>>> >>>>>>>>>>>> CSplit: Begin part 1/6 >>>>>>>>>> >>>>>>>>>>>> CSplit: Begin file TRACER.ASM >>>>>>>>>> >>; Tracer - utility to trace int 21h calls >>; Written by Tom Torfs (2:292/516@fidonet.org, >>tomtorfs@mail.dma.be) ; Donated to the public domain, 1997-08-03 > Curious code, Tom. Never mind. An excellent trace 21h program > was written about 10 years ago. I think it is probably still on > Simtel. 10/10 for effort. But why re-invent wheels? Would > somebody please please please invent a useful program which > nobody else has done. (No more text editors, please). Here's a challenge. I suspect we're all cursed with bad sectors on our hard drives .. but sectors that aren't really unusable, that instead have been marked "bad" by some thrice-damned program that wanted to leave a signature on our disk (copy protection, registration, whatever). I must have half a dozen "bad" sectors, and I know damned well I didn't have a single one when I first got this hard drive. (And I've never had a disk error.) How about a disk sector utility that scans your disk (hard or floppy) for the sectors the system has marked as "bad" .. and actually try a read on that sector, show you the data (binary dump) that lies thereon. If it turns out to be readable (and writeable even), the utility should then give you the option to (1) mark the sector as "good" (and free to be reused); (2) allocate the sector to a file so you can examine it, elect to delete it later, etc.; or (3) leave it just as it is. Now _that_ would be handy! And there's at least one file defragger out there in the SimTel archives (with full source) that might give you some of the functions to do this too. --- * Origin: Toad Hall (1:3634/48.16) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: ECD00008Date: 08/06/97 From: JOHN GARDENIERS Time: 05:54pm \/To: BRYAN SCHWARTZ (Read 1 times) Subj: Arrow Assembler Hi Bryan, -=> 23 Jul 97 08:35, Bryan Schwartz wrote to John Gardeniers <=- BS> Try downloading valarrow.zip from http://www.cet.com/~jvahn Can't do. I don't have Internet access. :-( BS> My copy from this location has a 4,912 byte doc (val.doc) When BS> unzipping valarrow.zip a messages is displayed : ' free MASM 3.0 BS> compatible assembler package ' That's the first unambiguous statement I've seen on the subject. BS> I'm surprised your local library has no books on assembly BS> programming. For a number of reasons I'd be a little surprised if it was otherwise. BS> The city i live in is small (600,000 people including suburbs) That's *huge* by our standards and I live in an area which until fairly recently was still classified as rural. BS> and the library is badly underfunded. (corrupt government) See? We do have things in common. ;-) BS> Maybe your local government is worse then ours, though thats hard to BS> believe, or maybe the librarians hate computers. I'll simply say that some things are quite universal and that the librarians simply have to spend their meager funds as best they can to try and satisfy the majority of users. Anyway, seeing as this is rather off-topic I'd better stop here. ttyl, >>> Fuse >>> ... Floggings will continue until morale improves! --- GoldED/386 3.00.Alpha4+ * Origin: The Cubby House, assembled by hand (3:632/360.70) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: ECD00009Date: 08/08/97 From: ANDERS JOHANSSON Time: 08:13pm \/To: AMAND TIHON (Read 1 times) Subj: UniVBE AT> I recently began to use UniVBE, and I wonder how to change AT> the page that is displayed on the screen. Try: MOV AX, 4F05h MOV BX, window MOV DX, page INT 10h //Anders --- * Origin: (2:203/512.13) --------------- FIDO MESSAGE AREA==> TOPIC: 145 ASSEMBLY LANG. Ref: ECD00010Date: 08/09/97 From: BJRN LINDQVIST Time: 02:36pm \/To: GLEN MCNABB (Read 1 times) Subj: Re: Change video mode GM> Generally here's some text modes on my SVGA... [list] But you have forget one important thing. In which register do I set these values? Mit freundlichen hlsningar. MvH Bjrn Lindqvist --- Terminate 4.00/Pro * Origin: JAG!! JAG!! JAG!! JAG! JAG JAG JAG JAG JAG JAG JAG JAG (2:204/535.2)