Mike McMullin wrote: > On Sun, 2007-06-03 at 07:43 -0400, James Knott wrote: > >> M Harris wrote: >> >>> On Friday 01 June 2007 22:22, azeem ahmad wrote: >>> >>> >>>> i am about to make a bootable floppy for test >>>> but i am being unable to get it done >>>> >>>> >>> Whoa bubba... I am surprised you can make lunch... but seriously, who >>> taught >>> you how to write assembler code? Ok, here is a sample "hello, world!" >>> program that includes a counted loop to the iolib wrapper routine >>> ( hello.asm ) and the io wrapper ( iolib.asm ) and a Makefile. All you will >>> need to build this hello world demo in opensuse is yasm|nasm , binutils >>> ( ld ) and elf (standard). Its a flat 32 bit sample, staticly linked, and >>> does not call any of the c library. Enjoy, but pay particular attention to >>> the format, the style, the comments, and the Makefile. note: do not >>> include >>> the /begin /end lines in the code files. >>> >>> </begin hello.asm> >>> >>> >> Anyone here remember doing assembly code in DEBUG? Many years ago, >> someone wanted a DOS utility that would just return an error code and do >> nothing else. I wrote one in assembler, using DEBUG, and it was only 5 >> bytes long. The same thing in Turbo C, came in at a few K bytes. >> > > Anyone here learn a.l. by hand disassembling their basic interpreter? > Someone mentioned that this looked like an effort on the part of person > looking to learn assembly, to me that makes sense, and should signal the > "vultures" to provide some actual guidance on getting the code runnable, > and then perhaps crank over the style, which will come over time as the > person gets used to assembly language. > > While not quite the same thing, I manually typed in my BASIC interpreter, in octal! My first computer was an IMSAI 8080 and I ran Scelbi's "SCELBAL" BASIC on it. Since I didn't have a paper tape reader, the only way I had to load it, was to type the octal numbers into memory, using Scelbi's monitor program. Once I'd typed in a block of 256 bytes, I'd save it to cassette tape and then start on the next block. Fortunately, my work had me in the middle of nowhere for a month, so I had plenty of spare time on my hands. I also loaded in that monitor program from the front panel and then saved to tape!
IMSAI 8080 http://oldcomputers.net/imsai8080.html -- Use OpenOffice.org <http://www.openoffice.org> -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
