Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!pacbell!att!ihnp4!ihlpg!mnelson From: mnelson@ihlpg.ATT.COM (Nelson) Newsgroups: comp.sys.cbm Subject: Loading machine language files. Keywords: ML loaded at $C000 Message-ID: <5449@ihlpg.ATT.COM> Date: 9 Jun 88 13:14:03 GMT Organization: AT&T Bell Laboratories - Naperville, Illinois Lines: 24 I am writing a program that uses a ML routine at $C000. I know I have seen programs that use LOAD statments to load other parts of the program and then jumps off to them (boot programs, etc). However, when I have the program try to load the ML routine it seems to loop on that line, ei. it LED on the drive keeps going on and off. The program is loaded because if I break and type in a RUN at the next line the program will work fine. The code looks like this: 10 LOAD "ML PROG AT $C000",8,1 20 POKE THE CIA REGS 30 OTHER BASIC STUFF 40 END If I put a PRINT statement at line 20 it will never be hit. Even putting multiple statements on line 10 doesn't work. The extra statements never get hit. Does anyone out there know a trick to get this to work, or do I have to load the ML through DATA statements? Is the $C000 location the problem? Mike Nelson ihnp4!ihlpg!mnelson AT&T Bell Labs