Initialization address

Please use this Board for QBasic related requests ( file research, programming, etc.)

Moderators:Administrator, Global Moderator

Post Reply
User avatar
wb4bex
Newbie
Posts:1
Joined:Sun Jan 19, 2003 8:56 am
Location:Cincinnati, Ohio
Initialization address

Post by wb4bex » Sun Jan 19, 2003 9:37 am

Dear QB Cafe,

I want to create a simple routine that I can convert to a 'com' file using the DOS command 'exe2bin'. The first step is to create a stand alone 'exe' file.

I have done that. But in order to use 'exe2bin', the 'exe' file has to load or init at address '0' or '100' (I presume these are hex addresses but I'm not presently sure). The point is ...is there a way to specify an init address when creating an 'exe' file in QB45?

Rich
I love YaBB 1G - SP1!

Guest

Re: Initialization address

Post by Guest » Sun Jan 19, 2003 9:44 am

the
ORG 100 is just a psp header for EXE files. Com files does not have that.

I don't have anyknowlegde with regards to ex2bin as I haven't used it. It prolly takes care of that as long as you proggie is small.

;*)

Post Reply