Commit Graph

  • 689bb3ab9c Removed TGI black/white defines as those are to be considered as target specific. TODO: Remove them from .inc file too - bit only after the tgi kernel has be adjusted. ol.sc 2011-04-20 12:23:27 +00:00
  • 5a2a8a030f Added TGI colors (simply based on the conio colors). ol.sc 2011-04-20 12:20:33 +00:00
  • ba2a945417 Changes by Greg King: Made cbm_readdir() report a disk's format-code and more file-access modes. Added more definitions to <cbm.h> for cbm_readdir(). And, improved the header's comments. Added some ASCII-to-PetSCII character-mappings. uz 2011-04-16 12:28:06 +00:00
  • 49d7d2df87 Added stub for _osmaperrno. Improve uname info. By Stefan Haubenthal. uz 2011-04-16 12:15:49 +00:00
  • ccd1f5fcd7 Fix tape header output. Add version info in the header. By Stefan Haubenthal. uz 2011-04-16 12:09:28 +00:00
  • c7528d6e3e Patch by groepaz to fix the problem that DEL files would appear as type DIR. uz 2011-04-07 20:58:03 +00:00
  • d78e52fd40 New uploader that can be hiding in top of memory waiting for a BLL-kind of loadable application over the ComLynx serial port. By Karri Kaksonen. uz 2011-04-06 19:54:55 +00:00
  • 3eccb74a0a Missing files added by Karri Kaksonen. uz 2011-04-06 19:51:15 +00:00
  • d72b4f5e1e Docs for the serial functions by Karri Kaksonen. uz 2011-04-06 19:50:26 +00:00
  • 00a11e642c Lynx boot stuff split up into several files. Changes by Karri Kaksonen. uz 2011-03-21 17:49:03 +00:00
  • 9528aae744 Improved and much smaller bootloader by Karri Kaksonen. uz 2011-03-17 22:36:09 +00:00
  • d8dd221f35 change my email addr from cpg@aladdin.de to chris@groessler.org cpg 2011-02-26 22:15:24 +00:00
  • a25d9bdf4b Improved exec(): - Copy the pathname to $280 for SYS programs - Make sure 80 column firmware is off (which btw. switches to the normal character set) which should increase program compatibility Now "only" cmdline support should be left to do. ol.sc 2011-02-11 23:22:26 +00:00
  • e4aa2a549b Added MACHID - we'll need it sooner or later... ol.sc 2011-02-11 23:15:20 +00:00
  • 93f8985e47 Fixed an error: The collection for the line infos hasn't been initialized. uz 2011-02-10 22:18:24 +00:00
  • 804169fb7f fix typos in comments cpg 2011-02-07 23:51:18 +00:00
  • 8cb0d90591 add Antic opcodes defines -- contributed by Christian Krüger cpg 2011-02-07 23:48:26 +00:00
  • f145cfd6a8 Update by Stefan Haubenthal. uz 2011-02-07 23:05:21 +00:00
  • f5de5144d3 Initialize variables to avoid gcc warnings. uz 2011-02-07 23:04:10 +00:00
  • 56d04f523f Added first implementation of exec(). No support for commandline parameters so far. ol.sc 2011-02-06 22:27:31 +00:00
  • bfb8dd8f95 add Antic opcodes (submitted by Christian Krueger) cpg 2011-02-06 20:57:14 +00:00
  • a6389e6406 The assembler options -l and --listing will now take the name of the listing file as an argument. uz 2011-02-06 20:10:19 +00:00
  • 3b9032a7c4 Added disassembler support for the NMOS 6502 with illegal opcodes. uz 2011-02-06 16:04:46 +00:00
  • 2056097a91 Fixed a bug reported by thefox. uz 2011-02-06 14:36:31 +00:00
  • fe92bc9c68 Bug correction by Karri Kaksonen. uz 2011-02-06 14:34:02 +00:00
  • 7c1cd6c8d8 Added two new global options, NewlineAfterJMP and NewlineAfterRTS. uz 2011-02-05 16:03:06 +00:00
  • ae8f3d1f37 The existing global option HEXOFFS and the --hexoffs command line switch weren't documented. uz 2011-02-05 15:58:37 +00:00
  • bcfa2c31cf Redid the whole line info stuff, because the old data structures weren't able to manage the new information. uz 2011-02-03 17:08:20 +00:00
  • 6cbbe66c87 Removed the obsolete mouse module. uz 2011-01-31 16:44:12 +00:00
  • 405cb07e7a Fixed a bug. uz 2011-01-30 14:51:50 +00:00
  • a6e099e9ac Bump version number of generated debug info files. uz 2011-01-29 22:19:37 +00:00
  • 299a0ed4cd Pass type of line info through the object files. uz 2011-01-29 22:16:03 +00:00
  • 0e32325ca6 New include file for line info definitions shared between assembler, linker and od65 utility. uz 2011-01-29 22:08:58 +00:00
  • 110f911ccb Introduced constructor to raise the ProDOS 8 file level - and extended the destructor to restore the file level again. This is a prerequisite to allow the upcoming exec() to open a file before the destructors run and continue reading from of it after the destructors have run. ol.sc 2011-01-29 21:43:26 +00:00
  • 9e31f7fb63 Set the priority of the main() args constructor to 24 simply be cause most other targets do - and adjust the priority of the dos detection constructor to stay higher than the main() args constructor. ol.sc 2011-01-29 21:39:17 +00:00
  • d2f59fb8b0 The constructor doesn't have any interaction with other constructors so there seems to be no need for a priority at all. ol.sc 2011-01-29 21:36:18 +00:00
  • 88e6b86427 Changed text of notification. uz 2011-01-29 20:30:38 +00:00
  • f0a0095c25 Create separate line infos for macros and .repeat statements and other token lists. These are also output as diagnostic in case of an error. uz 2011-01-29 20:24:44 +00:00
  • 1072edb0d8 Use line infos to output more verbose error and warning messages whenever possible. uz 2011-01-29 18:43:36 +00:00
  • 1dcba5c24e Bugfix by Karri Kaksonen. uz 2011-01-29 17:53:58 +00:00
  • d5109f6319 Fixed an error in the macro versions of the inline functions. uz 2011-01-28 16:33:04 +00:00
  • 81c90667bf Small fix for debug info output. uz 2011-01-28 16:20:39 +00:00
  • 8af53cf22a Adapted to new library format. uz 2011-01-28 16:03:55 +00:00
  • fa1b5f5f3c Fixed a bug: Wrong variable size trucates data. uz 2011-01-28 16:03:41 +00:00
  • 5855137d8c Change how data is stored in the library. To simplify things, the index (=directory) entry is now shorter, and additional data necessary for checking in the archiver is not stored in the directory but read from the object file data in the library. uz 2011-01-28 15:42:32 +00:00
  • 8386b47074 No need to specify explicit paths in #include statements. uz 2011-01-28 12:21:48 +00:00
  • 8c0a0fa4a3 Use routine from common library instead of separate code. uz 2011-01-28 12:14:22 +00:00
  • 8685bb116c Allow to pass arguments to a program compiled for the Oric Atmos. Code contributed by Stefan A. Haubenthal. uz 2011-01-28 12:12:59 +00:00
  • 5d7001dc93 Simplify things using collections. Some more generic overhaul. uz 2011-01-28 11:54:35 +00:00
  • a9990fbcf3 Changed priorities of destructors so atexit will be called before open files are closed on exit, so atexit handlers may close the files themselves or whatever is necessary for a clean shutdown. uz 2011-01-28 10:55:03 +00:00
  • a214ccff92 Use a collection for the modules in a library. uz 2011-01-27 22:43:33 +00:00
  • 9023d0c6f2 On errors and warnings, output additional information using extra line info supplied using the .dbg statements. uz 2011-01-27 22:25:32 +00:00
  • 036282aced Fix forgotten stuff from last change. uz 2011-01-27 22:23:01 +00:00
  • 81555b223d More lineinfo usage. uz 2011-01-27 21:40:37 +00:00
  • a376e1e954 Change ignore list for new naming (grc -> grc65). uz 2011-01-27 21:14:34 +00:00
  • d6c6c54ad6 Renamed conioinit to initconio because most other constructors have this naming scheme. uz 2011-01-27 21:12:55 +00:00
  • fc3574a111 Added the variables for setting the ProDOS type and auxtype to the docs. ol.sc 2011-01-27 20:36:31 +00:00
  • 73548dbfb3 Adapted to changes in the object file format. uz 2011-01-27 17:35:48 +00:00
  • 88b3489d89 Adapt to changed object file format. uz 2011-01-27 16:47:45 +00:00
  • 713c019a24 Save a few bytes when writing file list entries to the object file. uz 2011-01-27 16:40:48 +00:00
  • b2b1edc4ab Actually generate basic line info. uz 2011-01-27 16:39:30 +00:00
  • d7d1ad7fd0 Must read line infos earlier when reading in an object files, because later data references it. uz 2011-01-27 16:20:14 +00:00
  • b903e818d1 More detailed error message. uz 2011-01-27 16:12:10 +00:00
  • e654ad49eb Allow different output formats using additional linker configs. Contributed by Karri Kaksonen. uz 2011-01-26 22:14:42 +00:00
  • 76c543a26f Saved two bytes. ol.sc 2011-01-26 22:11:23 +00:00
  • f79473f53a Slightly improved memset function by Christian Krüger. uz 2011-01-26 22:07:59 +00:00
  • b4c237b2b1 Minor beautification. ol.sc 2011-01-26 21:37:42 +00:00
  • 733e832b5d Use LineInfo instead of raw FilePos objects. Most information in the object files does now have lists of LineInfos attached. Compiles but UNTESTED! uz 2011-01-26 19:42:17 +00:00
  • 25c13a4f54 Make exec() only visible if standard=cc655. uz 2011-01-25 20:20:12 +00:00
  • 549b8ec895 For exec() the command line pointer may be NULL. uz 2011-01-25 20:19:09 +00:00
  • 5b79d7e685 Convert imports, exports and debug symbols to use and write line infos instead of embedded file positions. uz 2011-01-25 16:27:17 +00:00
  • f3487b7c0f No need to search for the correct line info entry, the source position is always in slot zero. uz 2011-01-25 16:26:50 +00:00
  • 8ef8f42f01 Added the exec() function prototype and documentation. uz 2011-01-25 15:50:14 +00:00
  • 6ddf79fc30 Fragments and assertions reference LineInfo items instead of having separate embedded FilePos items. uz 2011-01-24 22:39:07 +00:00
  • 06e3152035 Started to generalize line info handling. Remove separate FilePos fields and try to manage all and everything with LineInfos. uz 2011-01-24 22:38:22 +00:00
  • 0f9ced267e Bumped the object file version number. uz 2011-01-24 22:37:12 +00:00
  • a7bd3ad0db Added a compar function for file positions. uz 2011-01-24 16:15:35 +00:00
  • 3b59a8ca6f Mark tokens with the file position from where they're read. Restore this position for tokens read from a token list. This means that line info does now show the actual point of definition. This is an improvement but needs to be refined. uz 2011-01-20 20:54:30 +00:00
  • ddb7296b6c Move all attributes and other information that is attached to a token into a structure named Token. uz 2011-01-16 16:05:43 +00:00
  • dbfae85f54 Renamed the Token enumeration to token_t. uz 2011-01-16 14:51:13 +00:00
  • 1d36b7f1b3 Add missing braces in macro definition. No error but could cause one. uz 2011-01-16 14:19:58 +00:00
  • e2485f100e Removed two defines that are no longer in use. uz 2011-01-16 14:18:03 +00:00
  • 57bd3bb346 Added a test program for division and modulo operation. uz 2011-01-11 17:19:16 +00:00
  • 4a32e84639 Fixed an error in the division routine: The high byte of the wrong 16 bit value was checked before entering the faster 16b8 division routine. uz 2011-01-11 17:08:29 +00:00
  • 839e2c4202 Added new .FATAL pseudo op. uz 2011-01-09 11:00:22 +00:00
  • bee54df029 Allow to set the ProDOS type and auxtype on creating new files in a similiar way done on the CBMs. ol.sc 2011-01-05 16:09:08 +00:00
  • d60c627cb6 When replaying a token list, be sure to zero terminate the string attribute of a token. uz 2011-01-05 10:47:32 +00:00
  • a2ec97ac13 More changes by Karri Kaksonen. uz 2011-01-04 19:39:07 +00:00
  • 78c2b66e58 When collecting tokens to be repeated inside of a .REPEAT section, do this in raw token mode, otherwise stuff is already partially evaluated. uz 2011-01-04 19:17:20 +00:00
  • 338844cb2e Patch by Gary Wong: The smbx and rmbx instructions are two byte insns (not one byte). uz 2010-12-30 19:35:10 +00:00
  • 212941ddb4 Fix consecutive false errors when a label without a following statement is encountered. uz 2010-12-30 19:30:54 +00:00
  • 38ebc6618d Bug fixes by Karri Kaksonen. uz 2010-12-30 19:05:33 +00:00
  • d993b332a4 Lynx update including file routines that access a file system on a cartridge by Karri Kaksonen. uz 2010-12-29 10:37:57 +00:00
  • 4a92522c82 In the generated assembly file, add import statements for all zero page variables known by the runtime. They aren't currently accessed by the compiler itself but may be useful for inline assembly. uz 2010-12-29 10:18:29 +00:00
  • f11067e260 Latest versions of startup code and config by Karri Kaksonen. Citing: The new header contains an encrypted loader, a small directory structure and a single pixel black title screen. This is directly bootable on a real Lynx. uz 2010-12-22 15:37:20 +00:00
  • a7b6b6dd10 set required memory for graphics mode 28 to 162 instead of 160. Report by Abel Carrasco. cpg 2010-12-21 21:17:52 +00:00
  • a3493d5e72 New versions that match the current TGI API by Karri Kaksonen. uz 2010-12-20 07:20:49 +00:00
  • 0d5267fc1a Added an implementation of toascii() for the Lynx, contributed by Karri Kaksonen. uz 2010-12-19 11:49:58 +00:00
  • 72d5d040d8 Fixed order of -o and -t on the linker command line. uz 2010-12-04 18:13:47 +00:00
  • e61173fe9e Reorder -o and -t on the linker command line. uz 2010-12-04 18:09:50 +00:00