Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


hi, hope there's somebody around i

hi, hope there's somebody around i

hi, hope there's somebody around i

hope there's somebody around in the world of web-programming who remembers old BASIC and MASM.
here is what i got :

compiled BASIC-program start.exe
compiled BASIC program prog1.exe

three libraries of asm-modules

asm.lib, prog.lib and start.lib, where asm is the base-library. prog needs asm,start needs asm and

start.exe is linked with all three libraries,
prog1.exe is linked with asm.lib and prog.lib

start.exe does a lot of things. its BASIC-code is very small since i've rewritten most of it in
assembler. everything works fine and there's no problem with asm.

start.exe also calls prog1.exe (using chain) and it does so 'cause i didn't know how to invoke a BASIC-program from assembler.

and now the problem:

when prog1 is running all the assembler-functions can't access the data declared in the assembler
example: filename declared as
CFG_DAT DB 'cfg.dat',0
will not give the correct address.

what's the problem and what can I do to analize it ?

ANY help appreciated

greetings from germany

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close