Path: utzoo!attcan!uunet!lll-winken!lll-ncis!helios.ee.lbl.gov!nosc!ucsd!ucbvax!decwrl!labrea!rutgers!paul.rutgers.edu!hundt From: hundt@paul.rutgers.edu (Hundt) Newsgroups: comp.sys.ibm.pc Subject: Re: ROM code still continued Message-ID: Date: 5 Jan 89 19:27:34 GMT References: <89Jan4.141140est.2375@godzilla.eecg.toronto.edu> Distribution: na Organization: Rutgers Univ., New Brunswick, N.J. Lines: 46 > Final result: your program executes from the basica rom slot on bootup. --------- See next comment. > Instructions: > 1. Make sure your rom bios jumps to the basic rom location (at f600 or so) > Some phoenix bios's just jump to a message 'Faulty boot disk'. You'll need Of course this is for machines sans disk. > when assembling it). Run this through exe2bin to get a binary (.com) file. > If you org this thing at f600 for example exe2bin wont COMify it- I then > loaded the exe file into debug and saved the appropriate length from the > approporiate starting location. Maybe there's an easier way to do this? I'd get the source to exe2com off simtel20 and hack that --- remove the restriction on ORGs, etc. > you need to link your program WITHOUT the nasty C start up code c0x.obj > is to use the assembly output option and then assemble and link that using > an assembler (like MASM). Is there a cleaner way? There should be a way to > link in library functions and avoid the startup scum dos code- but I sure > haven't found it (anybody volunteer for this one?). How about getting the source to c0x (c0x.asm) and hacking that a bit? I had it when I was working on the ka9q (NET) package, I think I got it from Russ Nelson (nelson@clutx.clarkson.edu) in his "porting kit". I don't remember what the terms of this were, however. Is it supplied with TC 2.0? > 6. Program your ROM with the result. Oh, what ROM burner board do you use? Mine is from JDR Microdevices (their old version, about 2 years old?) and conflicts with EGA ports. Bummer. Anybody want to trade? :-) hundt@occlusal.rutgers.edu:Thomas M. Hundt:201/247-6723(H),932-5843(Lab) -- RRRRRR Thomas M. Hundt RR RR Gradual Student --- Electrical & Computer Engineering RR RR Rutgers University RRRRR New Brunswick NJ RR RR hundt@occlusal.rutgers.edu RRR RRR Famous last words: "The virus ate it."