+dhe Posted May 5, 2022 Share Posted May 5, 2022 I'm trying to build a 4a program image file with Genprog. The program I compile runs fine, as EA3 (Load and Run). I'm running into a REF error, when I try to generate an EA5 program image. I tried using both the libref and add command - and neither resolved my problem. Quote Link to comment Share on other sites More sharing options...
+9640News Posted May 5, 2022 Share Posted May 5, 2022 I would use the GenLIB program and verify with the SYMTAB command to make sure the libraries are present. I have never used the GenREF Librarian successfully, so you may have to rebuild the list of components from scratch if the UNDEFined utilities are not present or are not being found. Beery 1 Quote Link to comment Share on other sites More sharing options...
+FarmerPotato Posted May 6, 2022 Share Posted May 6, 2022 not familiar with librarian either. You can put in your own copy of the E/A utilities. The source to the E/A utilities is in my Supersave repo. See this thread: 1 1 Quote Link to comment Share on other sites More sharing options...
+dhe Posted May 6, 2022 Author Share Posted May 6, 2022 Looks like I might have one or two problems. 1) I'm not using genlib correctly? -and-or- 2) I have a corrupt file. @9640News or @InsaneMultitasker can you get the same results? Re-Reading the GenLink docs for the 10th time, it says to re-generate the lib_4a, you do something similar to: add video1 vsbw I'm guessing video1 would contain an actual subroutine that one would branch into and it would perform the single byte write operation. The genprog copy I have doesn't have a video anything file... Nor do other copies of genprog that I have seen. Do you have an original diskette set? I am wondering if maybe that code was on like a disk 2, that was never propagated? Quote Link to comment Share on other sites More sharing options...
+9640News Posted May 6, 2022 Share Posted May 6, 2022 My LIB_4A and LIB_MDOS lists out correctly with LIBR / MAINT / SYMTAB. Here they are below. There was only 1 diskette, and the video1, video2, etc. source/object files were never distributed. Most of those individual files can be pieced together from other 4A source code files from other users. You just need to be careful they stand on their own individually as some of the video utilities may call on other separate video utilities. Beery LIB_4A LIB_MDOS Quote Link to comment Share on other sites More sharing options...
+dhe Posted May 6, 2022 Author Share Posted May 6, 2022 39 minutes ago, 9640News said: There was only 1 diskette, and the video1, video2, etc. source/object files were never distributed. O' Okay. I might try to create one lib with a routine or two as an academic exercise. MDOS was definitely the best source to have, but it would have been nice to have the genprog source and Paul's 80-Track DC Source. Quote Link to comment Share on other sites More sharing options...
+dhe Posted May 9, 2022 Author Share Posted May 9, 2022 @9640News I wanted to follow up with you. With the files you provided me, I was able to use libr, do maint and symtab and immediately got a listing of the symbol table. Thank you. 1 Quote Link to comment Share on other sites More sharing options...
+9640News Posted May 9, 2022 Share Posted May 9, 2022 Great. You are welcome. Beery Quote Link to comment Share on other sites More sharing options...
+dhe Posted May 13, 2022 Author Share Posted May 13, 2022 Going through the Genprog manual, one of the high points noted was that Genprog output can be used with a symbolic debugger. q: 1) Is there a symbolic debugger for mdos? 2) What is a symbolic debugger - Ken Culp mentions a symbolic debugger in his book "Simplified Assembler" - I think he was referring to a debugger that ran on the TI-990 development system TI used. Quote Link to comment Share on other sites More sharing options...
+9640News Posted May 14, 2022 Share Posted May 14, 2022 Good question. Outside of Tom Freeman’ Debug program which was enhanced fro RSBUG in the Geneve eprom, I do not know of anything else. Quote Link to comment Share on other sites More sharing options...
+dhe Posted May 14, 2022 Author Share Posted May 14, 2022 Does Tom debugger do symbolic debugging? Quote Link to comment Share on other sites More sharing options...
+dhe Posted May 17, 2022 Author Share Posted May 17, 2022 While going through MDOS related source code, I came across this gem I had forgotten about: 3 Quote Link to comment Share on other sites More sharing options...
+9640News Posted May 17, 2022 Share Posted May 17, 2022 On 5/14/2022 at 7:22 AM, dhe said: Does Tom debugger do symbolic debugging? Dunno.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.