From: Nikhil Joshi nikhiljoshi@subdimension.com Subject: [ILUG-BOM] Debug for Linux?
Hi! Usually we write simple programs using MS-Dos's debug "command" Is there a parallel Linux utility ? Also are there any assemblers like MASM TASM ?
try the as86, nasm (free netwide assembler) or gas (GNU assembler). However none of them have a graphical interface like MASM or TASM. There is a utility called as hexdump which is similar to the debug command in DOS. --- vinayak
I would also like to clear some doubts:
- In DOS we use interrupts like int 20,int 21 etc.. which perform certain
tasks. Are these interrupts apllicable to Linux also?
Linux uses system kernel calls unlike int21h in DOS. Read the "linux assembly howto" and visit linuxassembly.com for more info The entire site is also available for download as a gzipped file. --- vinayak
2.In Assembly since we deal directly with CPU isn't it a security risk? (I have come across some debug routines which clear CMOS , destroy the hard disk partitions... !)
3.Why there r so many books written for Assembly Programming which are specific to Dos based Assemblers and debug? Is Unix implementation for Assembly Programming difficult ?
it is slightly more difficult. Also it is little different than DOS assembly.
--- vinayak
Message: 6 From: asif f asif@techemail.com Subject: [ILUG-BOM] booting problems
i have a piii 866/128 mb/ intel 815 box board, and three partitions. the first has win98 (ie-c:) the second is free i have tried to install pcq linux 7.1 on the third partition, the installation goes through smoothly, and finishes and asks for a 1.44 media to be inserted for boot disk. but after finishing the boot disk creation , the system cannot boot off the diskette and start liniux, i have even tried using loadlin from dos prompt but no luck . my linux is installed on hdc6 and when viewed through windows shows 2 files one is redhat.img and one is a swap.img. is there a way out to boot thig without going through reinstallation.
hi asif, LILO does create some problems if the boot partition is after 1024 cylinder sometimes. Try grub,Xosl (www.xosl.org) or bootitng to cure the problem. I hope it will solve the problem.
--- vinayak hegde
Message: 7 From: Kishore Saxena xccep@vsnl.com Subject: [ILUG-BOM] Please suggest a book for c programming in llinux
hi there, I came across a book called Linux Programming , by neil mathew and richard stones. i want to know if anyone has gone throught this book ( or knows a better book ) I would like to get well versed with c programming on linux. -rahul
I found the book really good for learning programming on linux. Actually there are two books on linux in the series Professional Linux Programming ( called plp ) - Wrox - For the advanced / intermediate user. Beginning Linux Programming ( called blp ) - Wrox - for the absolute beginner. How ever both this books do not focus exclusively on C but C on linux platform is covered in some detail.
--- vinayak hegde
--__--__--
Message: 9 From: prithviraj chauhan prithvirajchauhan@yahoo.com Subject: [ILUG-BOM] modem driver for linux
i have a conexent modem hsf 56k chip no rs56/sp-pc/11p1 which i am not able to configure for linux pl help me out
Hi prithvi,
check out the sites : linmodems.org www.linux.com/howto/Winmodems-and-Linux-HOWTO.html www.idir.net/~gromitkc/winmodem.html also search on google for "motorola modem drivers for linux" without the quotes --- vinayak hegde