Greg King
0ec8c8cea7
Added a quoted-token parsing function.
2014-05-20 16:33:16 -04:00
Oliver Schmidt
c6ee9ac034
Classified tgi_imulround() as part of TGI API.
2014-03-27 19:31:18 +01:00
Christian Groessler
8492a4eb71
fix typo
2014-03-08 00:24:43 +01:00
Christian Groessler
d481557541
add addresses of static drivers of the runtime
2014-01-21 22:58:50 +01:00
Oliver Schmidt
94eb2a2ed7
Some fine tuning of the mouse driver interface harmonization.
2014-01-17 21:09:15 +01:00
Christian Groessler
9124d0f051
add SER_BAUD_56_875
2013-12-06 20:53:49 +01:00
Christian Groessler
367ab2d531
add SER_ERR_NOT_OPEN status code
2013-12-06 20:53:49 +01:00
kym
11be575b6d
Initial Creativision Import
2013-12-05 11:40:44 +00:00
Christian Groessler
1135bc2acd
add IOCB command codes to atari.h
2013-09-17 22:35:17 +02:00
Greg King
2b02a03e6c
Renamed the CBM510 lightpen driver to include the 184-C pen.
2013-09-10 06:47:17 -04:00
Greg King
e0c8c7dcb1
Added a cbm510 lightpen driver.
...
It's similar to the current c64 and c128 lightpen drivers.
2013-09-09 17:03:40 -04:00
Oliver Schmidt
3671c7e19c
Merge pull request #27 from greg-king5/cbm2
...
Added a joystick-mouse driver to the CBM510 library.
2013-08-23 04:28:49 -07:00
Greg King
1c83d8232b
Added a driver to the CBM510 library that lets a joystick pretend to be a mouse.
2013-08-23 03:06:00 -04:00
Oliver Schmidt
177e967629
Added TGI color defines.
2013-08-22 16:33:30 +02:00
Oliver Schmidt
5602cf742f
Adjusted comment.
2013-08-08 18:46:21 +02:00
Oliver Schmidt
f5844e58d1
Merge pull request #25 from cybernesto/master
...
Promoted _auxtype to a struct to gain access to additional fields
2013-08-08 09:40:50 -07:00
Mario Patiño
7d9bba213b
Comments added
2013-08-08 18:23:48 +02:00
Greg King
6589288a04
Exposed, to C code, the names of the Atmos ROM's sound effect functions.
2013-08-06 11:12:30 -04:00
Mario Patiño
9b157a5b1e
Defined a struct to contain the date and time data
...
To keep backward compatibility auxtype and the date/time are kept
separated.
A struct similar to the one used in dirent.h is used to access the
create_date and create_time fields.
2013-08-03 19:08:36 +02:00
Mario Patiño
be7c24177c
Promoted _auxtype to a struct to gain access to additional fields
...
While creating files there was no possibility to explicitly set the
time or date.
This is necessary for example while copying files since the original
time and date should be kept.
2013-08-03 15:42:16 +02:00
Greg King
3b544613d2
Moved the lightpen names from <mouse.h> to a new <pen.h>.
...
Renamed the adjuster pointer.
2013-07-25 13:32:40 -04:00
Greg King
a555b5f6a5
Merge branch 'master' into lightpen
2013-07-01 09:25:02 -04:00
Oliver Schmidt
3af758ced5
Have __PLUS4__ imply __C16__.
2013-06-27 23:09:54 +02:00
Greg King
e63bf1cde1
Used a library-reference method to calibrate lightpen drivers.
...
The mouse reference is a pointer. If it's NULL, the driver uses a default. If it's non-NULL, then it points to a function that the driver can call. That function will adjust the driver's calibration value. It could ask the user to adjust the pen; or, it could read a file that holds a value from a previous calibration.
Application writers can choose how it's done: a function that's provided by the library, a custom function, or nothing.
2013-06-23 03:18:28 -04:00
Oliver Schmidt
83280e1ee2
Have __APPLE2ENH__ imply __APPLE2__ and __ATARIXL__ imply __ATARI__.
2013-06-17 21:34:08 +02:00
Greg King
233aa40752
Replaced an obsolete spelling with the current one.
2013-05-29 21:34:40 -04:00
Greg King
051c21726b
Added Inkwell lightpen drivers for the C64 and the C128.
...
They use the mouse driver programming interface.
Added a test program for lightpen drivers. Now, it knows about only those two drivers; it will need updating when others are added.
2013-05-29 20:02:29 -04:00
Oliver Schmidt
17776739e2
Fixed discrepancy between definition and declaration.
2013-05-28 22:16:07 +02:00
Oliver Schmidt
98c47d1877
Introduced target 'atarixl'.
...
The target 'atarixl' is to be used for Atari XL (and better) machines.
It will disable the OS ROM and enable the Shadow RAM available on
those machine.
Note: This commit is only the inital step towards for this goal that just
replicates the target 'atari' as a starting point!
2013-05-28 21:56:37 +02:00
Oliver Schmidt
2e8a65bda4
Renamed Atari drivers.
...
As a preparation for the introduction of the 'atarixl' target it is
necessary that all drivers have a base name...
- no longer than 7 characters
- with a common prefix
2013-05-28 21:20:37 +02:00
Oliver Schmidt
85885001b1
Removed (pretty inconsistently used) tab chars from source code base.
2013-05-09 13:57:12 +02:00
Oliver Schmidt
44fd1082ae
Adjusted C declarations to the changed static driver names.
2013-05-09 10:20:03 +02:00
Greg King
b225adaf03
Fixed isgraph() and ispunct() (macroes and library functions).
2013-05-01 16:23:47 -04:00
karri
0ac072b290
Add lynx_snd_stop_channel
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5978 b7a2c559-68d2-44c3-8de9-860c34a00d81
2013-01-28 19:43:10 +00:00
karri
6325769580
Add lynx_snd_active
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5975 b7a2c559-68d2-44c3-8de9-860c34a00d81
2013-01-28 17:50:59 +00:00
uz
0dc4f64cfe
tgi_free_vectorfont maps to free and must therefore be fastcall.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5970 b7a2c559-68d2-44c3-8de9-860c34a00d81
2013-01-27 14:39:35 +00:00
uz
ee5216f69b
Patch by Greg King: Added the new graphics driver's name to the Atmos header.
...
Added its description to the Atmos document.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5962 b7a2c559-68d2-44c3-8de9-860c34a00d81
2013-01-09 20:25:05 +00:00
uz
0a5bf82797
Patch by Greg King: Added TGI_COLOR_* definitions to the Atmos C header file.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5957 b7a2c559-68d2-44c3-8de9-860c34a00d81
2013-01-07 19:33:23 +00:00
uz
33833e1bf4
Declare more internal TGI kernel variables. Not really usable for standard
...
programs, but can be useful for testing.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5956 b7a2c559-68d2-44c3-8de9-860c34a00d81
2013-01-07 19:32:55 +00:00
karri
dc776e1303
rename lynx_snd_pause
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5952 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-12-17 17:50:28 +00:00
karri
1a9c23616b
Add sound routine support
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5946 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-12-11 06:27:14 +00:00
karri
39438c19f1
Make positions signed
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5942 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-27 06:46:20 +00:00
karri
c7d6712023
Fix types
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5940 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-21 13:11:52 +00:00
karri
2c5e0f13a1
Remove duplicate definition for sprites
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5937 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-17 08:23:38 +00:00
ol.sc
1ebee7cbd3
Harmozined typing of static driver address.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5934 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-13 22:23:10 +00:00
ol.sc
fa6dae8fa9
Added declarations for target-specific static drivers being part of the C library.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5925 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-07 23:20:58 +00:00
ol.sc
ca2ba14bbe
Added option to build samples with statically linked drivers - and have the targets use it by default which don't support dynamically loaded drivers.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5913 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-04 22:01:51 +00:00
karri
0749c265c2
Fix conflict in names
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5897 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-02 19:39:38 +00:00
ol.sc
6860ac7dfd
Introduced static standard drivers.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5891 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-11-01 19:53:47 +00:00
ol.sc
a9cb044183
- Introduced Apple GEOS specific key codes.
...
- Reorganized color defines.
- Changed GEOS 64/128 'enter' key code from 10 to 13 (I've no idea how this could have been wrong but but at least VICE delivers 13).
git-svn-id: svn://svn.cc65.org/cc65/trunk@5877 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-25 20:08:18 +00:00
karri
771cb7eb76
Fix typo
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5868 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-23 11:54:31 +00:00
karri
88742eaa8e
Cammys optimized Lynx palette
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5867 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-23 10:07:41 +00:00
ol.sc
89d4f4a90c
Introduced getcurrentdevice() and implemented it for CBM and Apple.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5863 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-21 14:35:17 +00:00
ol.sc
74fb91a3a2
The 128+x character codes were very likely intended to be interpreted by cputs and translated into explicit drawing of short lines. However there was no code to do so at all. Given that the emulation of a characterbased API on a graphics system isn't the premier choice for a sophisticated UI it doesn't seem appropriate to invest into actually implementing the approach described above. Therefore I just replaced the character codes with a '+'.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5862 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-19 07:19:08 +00:00
ol.sc
17659555f8
Removed cpputs/cpputsxy as they don't work and as there's really very little use for proprietary extensions of a character API emulated on a graphics systems.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5860 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-19 06:53:55 +00:00
ol.sc
8b26ed2a69
Implemented __syschdir on CBM. As getcwd returns a cached directory any direct access to __curunit would cause inconsistencies. Therefore __curunit was renamed to curunit to prohibit user access.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5857 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-16 21:39:40 +00:00
karri
2266532724
Fix eol
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5855 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-16 08:10:50 +00:00
karri
d701efef12
Add Lynx hardware chip access
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5854 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-16 08:03:36 +00:00
ol.sc
f7b3e91d8e
Removed TABs.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5848 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-14 12:43:27 +00:00
ol.sc
61d4b6b03f
Removed DIO specific typedefs which were just aliases to basic types and replaced the term 'drive' with 'device' in order to harmonize with the recently added device.h.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5847 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-11 18:22:49 +00:00
ol.sc
d99d5f3337
Replaced Apple II specific solution with implementation of recently introduced devicedir().
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5846 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-10 20:55:56 +00:00
ol.sc
987c3066a3
Introduced getdevicedir() - with implementation for the CBMs.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5840 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-07 19:18:56 +00:00
ol.sc
0f1cd50883
Replaced Apple II specific solution with implementation of recently introduced mass-storage device enumaration.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5821 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-09-09 13:38:32 +00:00
ol.sc
b586d5ef69
Introduced mass-storage device enumaration - with implementation for C64 and C128.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5820 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-09-09 12:14:45 +00:00
uz
dcff1d0774
An already loaded driver is an error in ser_load_driver, because the library
...
cannot know if it was dynamically loaded or statically linked.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5794 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-22 19:54:04 +00:00
uz
e7ed3b374f
Rewrote em_load_driver in assembler fixing a possible memory leak.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5793 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-22 11:36:09 +00:00
uz
975a06c2ee
Rewrote tgi_load_driver in assembler and fixed a possible memory leak when
...
doing so. Changed the behaviour in case a driver is already loaded: Since the
library cannot know if this driver was linked statically or loaded
dynamically, an already installed driver is considered an error. It must be
removed before calling tgi_load_driver.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5790 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-22 11:07:46 +00:00
ol.sc
f9f660dd5d
Added functional Atari directory classification macros for file types from struct dirent contributed by Stefan A. Haubenthal.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5759 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-03 20:10:52 +00:00
ol.sc
c68d7de66e
This is C, not 6502 ;-))
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5758 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-03 20:00:01 +00:00
uz
511b826dfd
Use 's' as default file type instead of 'u'.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5756 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-01 18:24:01 +00:00
uz
b7325f7abe
According to Greg King, Vorpal files are regular files.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5755 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-01 18:10:57 +00:00
uz
ec8234c521
Fixed naming of cbm_clall.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5752 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-01 12:45:26 +00:00
uz
e03feeefae
Unified names of CBM kernal level functions and completed the list of
...
functions in the cbm.h header file.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5750 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-07-01 12:36:44 +00:00
ol.sc
c6ee5a8418
Added dummy classification macros for the remaining targets - even for those that don't have the field 'd_type'.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5744 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-25 20:23:54 +00:00
ol.sc
1bafd55557
Minor adjustment to Apple II coding style (two spaces for macro definitions).
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5739 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-24 19:59:49 +00:00
ol.sc
15546f8880
Added Apple II classification macros for file types from struct dirent.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5738 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-24 19:49:15 +00:00
uz
7aefd9b4e7
Added classification macros for file types from struct dirent.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5736 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-24 14:23:33 +00:00
uz
5bc67cdaee
Move definitions for CBM file types into its own header file, since these
...
definitions are needed for file type macros in dirent.h. Unify names for the
include files.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5735 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-24 13:52:06 +00:00
uz
2f87dbc27e
Allow a third, optional filename argument for cbm_opendir.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5683 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-04 18:32:38 +00:00
uz
c40b54ee6c
Implemented rewinddir/seekdir.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5676 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-03 15:11:32 +00:00
uz
9d0a2c3007
Add comment about meaning of directory entry type.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5671 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-03 13:58:29 +00:00
uz
ebca2991a3
Moved most of the file type detection from cbm_dir.c into a new function
...
called _cbm_filetype().
Added an assembler include file with the file type definitions from cbm.h.
Added a first implementation of readdir() for the CBMs.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5669 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-06-02 22:56:14 +00:00
uz
f6209f1344
Added a struct dirent for the CBMs.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5664 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-05-29 21:19:50 +00:00
uz
293c279416
Tape load and save functions for the Oric Atmos. By Stefan Haubenthal.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5660 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-05-28 11:11:39 +00:00
ol.sc
914c6a0ad8
At least in the context of compacted bitmap handling it seems appropriate to abstract that the Apple DHGR screen has these dimensions.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5656 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-04-29 15:37:06 +00:00
uz
c09d6a7299
Added an improved definition of the __vic2 structure using anon
...
structs/unions. For compatibility reasons the new definition is active only in
cc65 mode.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5619 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-17 21:07:41 +00:00
uz
194a007710
The set_irq function needs size_t.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5602 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-11 10:46:04 +00:00
ol.sc
204aba1577
Introduced Apple GEOS specific screen size constants.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5567 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-27 22:00:26 +00:00
ol.sc
358a27bd3c
Better have the Apple GEOS stuff below the CBM GEOS stuff.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5543 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-22 22:32:28 +00:00
ol.sc
f86acd3128
C programs don't need offsets into data structures - they have actual structs :-). In this case 'struct filehandle' and 'struct fileheader'.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5542 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-22 22:24:28 +00:00
uz
787dc1a5dc
Additional key definitions for the Oric Atmos. By Stefan Haubenthal.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5532 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-19 17:50:57 +00:00
ol.sc
d17292ce1a
Introduced Apple GEOS specific global variable addresses.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5530 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-18 00:09:39 +00:00
ol.sc
5134fe7f41
Introduced Apple GEOS specific directory entry structures.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5529 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-18 00:08:51 +00:00
ol.sc
077520abeb
Removed comment that wasn't correct anymore and didn't fit the cc65 style anyway.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5528 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-17 21:08:13 +00:00
cpg
ae39e1c0af
recognize XDOS -- patch from Stefan Haubenthal
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5524 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-11 08:35:54 +00:00
ol.sc
2a0fd9bda0
Renamed 'UnBlockProcess' to 'UnblockProcess' and 'UnFreezeProcess' to 'UnfreezeProcess' to matchall 3rd party docs.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5504 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-09 07:37:08 +00:00
uz
c03a5caf19
Added an implementation of clock() for the Lynx console. By Greg King.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5477 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-06 20:17:54 +00:00
ol.sc
e1894b1272
Fixed irq handler return value.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5421 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-01-21 22:34:48 +00:00
ol.sc
5df392ff14
Added wrapper for C level irq handling.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5408 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-01-19 00:24:13 +00:00
uz
0e4f581f71
Remove obsolete defines for the 6502 processor flags.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5405 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-01-18 15:26:27 +00:00
ol.sc
d1e7773245
Adjustments to recent adding of get/set prefix to tgi function names.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5305 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-11-29 21:36:42 +00:00
uz
eef45199d5
Remove ldiv_t - it should only be in stdlib.h. Reported by Marc Rintsch.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5302 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-11-05 19:49:34 +00:00
uz
edca940a86
Declaration of tgi_settextdir() added.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5101 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-07-31 22:17:21 +00:00
uz
9c55586569
Renamed tgi_textheight -> tgi_gettextheight, tgi_textwidth -> tgi_gettextwidth
...
tgi_textstyle -> tgi_settextstyle and tgi_textscale -> tgi_settextscale.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5090 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-07-17 18:36:12 +00:00
uz
655ffe5dcd
Make the 8x32 unsigned multiplication routine C callable.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5079 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-07-10 14:52:35 +00:00
uz
e531e5abd1
Removed __fastcall__ declarations for functions without parameters.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5073 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-07-07 20:19:35 +00:00
uz
79fad36b41
Use slightly optimized character translation settings for the CBM machines.
...
Suggested by Greg King.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5054 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-06-13 12:13:08 +00:00
ol.sc
a4b6b6004a
Removed tgi_load() and all corresponding infrastructure. The idea behind tgi_load() was to be able to describe a TGI mode in a target-neutral way by resolution and colordepth. However it turned out that there arn't any cc65 targets sharing any resolution. As a result the only working target-independent approach for a TGI program is to call tgi_loaddriver(tgi_stddrv); and then look up the resolution provided - and to adapt to that resolution.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5021 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-05-03 21:28:20 +00:00
ol.sc
4aa00e84e1
Removed tgi_load() and all corresponding infrastructure. The idea behind tgi_load() was to be able to describe a TGI mode in a target-neutral way by resolution and colordepth. However it turned out that there arn't any cc65 targets sharing any resolution. As a result the only working target-independent approach for a TGI program is to call tgi_loaddriver(tgi_stddrv); and then look up the resolution provided - and to adapt to that resolution.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5016 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-05-02 10:38:48 +00:00
uz
a507605a89
New TGI routines tgi_getaspectratio/tgi_setaspectratio.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5009 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-05-01 18:40:38 +00:00
uz
977c64ce01
Fixed comments. No code change.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4996 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-25 18:49:24 +00:00
uz
cc3424a545
Access routines for different eeprom types. By Karri Kaksonen.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4994 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-25 18:42:50 +00:00
ol.sc
012e3e456a
Added TGI_COLOR_... macros to be used both for hires and lores. Introduced color mapping on lores to allow for common color macros.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4992 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-25 11:16:56 +00:00
ol.sc
9a1f73e8f5
Added TGI colors (simply based on the conio colors).
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4989 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-20 12:50:38 +00:00
ol.sc
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.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4988 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-20 12:23:27 +00:00
ol.sc
5a2a8a030f
Added TGI colors (simply based on the conio colors).
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4987 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-20 12:20:33 +00:00
uz
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.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4986 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-04-16 12:28:06 +00:00
cpg
d8dd221f35
change my email addr from cpg@aladdin.de to chris@groessler.org
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4977 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-02-26 22:15:24 +00:00
cpg
804169fb7f
fix typos in comments
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4973 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-02-07 23:51:18 +00:00
cpg
8cb0d90591
add Antic opcodes defines -- contributed by Christian Krüger
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4972 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-02-07 23:48:26 +00:00
uz
25c13a4f54
Make exec() only visible if standard=cc655.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4920 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-01-25 20:20:12 +00:00
uz
8ef8f42f01
Added the exec() function prototype and documentation.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4916 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-01-25 15:50:14 +00:00
ol.sc
bee54df029
Allow to set the ProDOS type and auxtype on creating new files in a similiar way done on the CBMs.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4902 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-01-05 16:09:08 +00:00
uz
a2ec97ac13
More changes by Karri Kaksonen.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4899 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-01-04 19:39:07 +00:00
uz
d993b332a4
Lynx update including file routines that access a file system on a cartridge
...
by Karri Kaksonen.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4892 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-12-29 10:37:57 +00:00
uz
a3493d5e72
New versions that match the current TGI API by Karri Kaksonen.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4888 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-12-20 07:20:49 +00:00
cpg
c345e8fc46
add Atari version
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4831 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-10-28 21:13:52 +00:00
ol.sc
e14435685f
Added CH_ENTER define.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4826 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-10-02 21:34:49 +00:00
ol.sc
8c0c1e1ed9
According to a recent discussion CH_ENTER should generally *not* be defined based on '\n'.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4825 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-10-02 21:20:25 +00:00
uz
ce886f4c5e
Removed the header files for the rs232 API since it has been replaced by
...
loadable serial drivers and serial.h a long time ago.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4744 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-07-11 16:43:31 +00:00
uz
4cd7eec075
This is part of adding getopt() lately but wasn't checked in together with the
...
other changes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4742 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-07-10 20:49:06 +00:00
uz
131a5cad09
Renamed oserrcheck to __mappederrno. Added an additional function named
...
__directerrno and moved both to errno.s. Changed several sources to use these
functions. Needs testing.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4718 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-06-10 18:10:53 +00:00
ol.sc
30cd6871be
Harmonized comment style.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4714 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-06-04 21:32:55 +00:00
uz
a86d23a63c
Change calling convention of cbm_save() to __fastcall__.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4709 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-06-04 10:25:53 +00:00
uz
d877aac5f4
Added EBADF since this is required for fileno().
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4696 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-06-03 21:12:23 +00:00
uz
e9310f8ec1
Change the prototype for _seterrno to return a char, since the function will
...
always return zero in A and this can be used in C code to make the code
shorter.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4687 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-06-03 20:18:19 +00:00
uz
0d8727ea33
Added a prototype for _seterrno().
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4686 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-06-03 20:12:55 +00:00
uz
bc2fb18752
Removed the mapping function called previously by the errno macro. It will be
...
replaced by a mapping in the functions itself.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4685 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-06-03 20:03:52 +00:00
ol.sc
710f59b654
Align rootdir() return value rather with POSIX functions than with DIO functions.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4680 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-06-02 07:03:54 +00:00
ol.sc
05b23194d9
Added function to find out the volume name of a ProDOS 8 disk in a ProDOS 8 device.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4668 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-05-26 21:02:35 +00:00
ol.sc
1bbbed5e96
Added functions to learn about the unit numbers of the ProDOS 8 devices found.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4663 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-05-24 20:10:19 +00:00
uz
8b6a40c04e
Patch by Marco van den Heuvel that adds detection of GEOS 1.1 and the plus4
...
GEOS to the get_ostype function.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4600 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-27 14:46:43 +00:00
uz
9d440c0102
Added new return code for get_ostype().
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4571 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-01 18:04:31 +00:00
ol.sc
10e810b623
Added macro for ssc slot selection.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4527 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-13 11:21:59 +00:00
ol.sc
4c1cd875ee
Added ioctl for mixing graphics with 4 lines of text.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4522 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-12 23:07:21 +00:00
uz
36cf23680c
MAde the second parameter of tgi_ioctl a void* instead of an unsigned to keep
...
the interface more uniform between the driver APIs.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4518 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-11 14:33:53 +00:00
uz
7ec8a5b6dc
Added some definitions for version 1.3 of the o65 format.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4516 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-12-10 22:44:27 +00:00
uz
097b094fdd
Replaced TGI_ERR_NO_MEM by TGI_ERR_NO_RES
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4467 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-13 15:53:01 +00:00
uz
e74ed31936
Fixed TGI error codes and messages. Removed the Atari specific ones.
...
tgi_load_vectorfont will now return TGI_ERR_NO_MEM and clear the error code if
the load was successful.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4466 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-13 12:57:10 +00:00
uz
1154a11649
tgi_vectorchar takes now a char argument. Added tgi_install_vectorfont.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@4454 b7a2c559-68d2-44c3-8de9-860c34a00d81
2009-11-06 16:18:13 +00:00