Hi all,
I've read the supplied BASCOM 5.3 documentation, and searched the web but can't seem to get a file to compile as a stand alone program. Whenever I use the /O switch my programs still say BRUN.COM is missing.
Can someone please give me a heads up in regards to which switches to throw at L80.COM?
Thanks heaps!
Compiling a stand alone program using BASCOM 5.3
-
- Posts: 38
- Joined: August 12th, 2014, 5:19 am
- Contact:
-
- Posts: 305
- Joined: June 7th, 2013, 12:54 pm
- Contact:
Re: Compiling a stand alone program using BASCOM 5.3
You do have BRUN.COM on the same disk as the compiled COM file, right? It has to be on the same disk.
-
- Posts: 38
- Joined: August 12th, 2014, 5:19 am
- Contact:
Re: Compiling a stand alone program using BASCOM 5.3
Hi,
Thanks for your reply but I'm trying to construct a standalone COM file that doesn't require BRUN.COM. According to the supplied test files I need to use the /O flag, but as mentioned originally I can't get it to actually work as expected.
Thanks
Thanks for your reply but I'm trying to construct a standalone COM file that doesn't require BRUN.COM. According to the supplied test files I need to use the /O flag, but as mentioned originally I can't get it to actually work as expected.
Code: Select all
/O (Newer versions only). Tells the compiler to construct a stand-
alone program instead of one requiring presence of the BRUN.COM
runtime module. This generates much bigger programs because all
of the runtime routines must be included.
-
- Site Admin
- Posts: 677
- Joined: April 5th, 2013, 10:55 am
- Contact:
Re: Compiling a stand alone program using BASCOM 5.3
Given a basic program saved in ASCII called SAMPLE.BAS:
Code: Select all
A>BASCOM SAMPLE=SAMPLE/O
00000 Fatal Error(s)
25542 Bytes Free
A>L80 SAMPLE,SAMPLE/N/E
Link-80 3.44 09-Dec-81 Copyright (c) 1981 Microsoft
Data 0103 2537 < 9268>
34554 Bytes Free
[0118 2537 37]
A>SAMPLE
Sample Compiled BASIC Program
This is line 1
This is line 2
This is line 3
This is line 4
This is line 5
This is line 6
This is line 7
This is line 8
This is line 9
This is line 10
-
- Posts: 38
- Joined: August 12th, 2014, 5:19 am
- Contact:
Re: Compiling a stand alone program using BASCOM 5.3
Thanks heaps Mike, I was using the flag on L80.COM.
Who is online
Users browsing this forum: No registered users and 8 guests