1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-28 22:30:12 +00:00
cc65/libsrc
Christian Groessler 6198e10f67 Atari: fix lookup of default device on XDOS.
Stefan Dorndorf, author of XDOS, pointed out that retrieving the
default device by looking at an undocumented memory location won't
work in future XDOS versions.
He also showed a way to get the default device in a compatible
manner.

This change implements his method and adds a version check (XDOS
versions below 2.4 don't support this -- for them the behaviour
will be the same as, for example, AtariDOS: no notion of a default
drive).
2016-09-12 23:40:25 +02:00
..
apple2 Added CONIO cursor support. 2016-06-19 15:03:20 +02:00
atari Atari: fix lookup of default device on XDOS. 2016-09-12 23:40:25 +02:00
atari5200 Introduced internal gotoxy that pops both parameters. 2016-06-05 14:58:38 +02:00
atmos Converted the Atmos configuration to the new constructor segment model. 2016-03-18 11:28:56 -04:00
c16 Introduced internal gotoxy that pops both parameters. 2016-06-05 14:58:38 +02:00
c64 Introduced internal gotoxy that pops both parameters. 2016-06-05 14:58:38 +02:00
c128 Introduced internal gotoxy that pops both parameters. 2016-06-05 14:58:38 +02:00
cbm Added C-code interfaces for the CBM Kernal functions SCNKEY and UDTIM. 2016-08-07 15:50:10 -04:00
cbm510 Introduced internal gotoxy that pops both parameters. 2016-06-05 14:58:38 +02:00
cbm610 Introduced internal gotoxy that pops both parameters. 2016-06-05 14:58:38 +02:00
common Fix broken rand() implementation. The high 8 bits were unused, reducing it to a 24-bit implementation (while still doing all the work for a 32-bit one). The best entropy is in the unused high byte, returning these bits in A instead of bits 8-15, which had considerably lower entropy (i.e. rand() & 255 was effectively a 16-bit LCG). 2016-07-11 20:48:47 -04:00
conio Introduced internal gotoxy that pops both parameters. 2016-06-05 14:58:38 +02:00
dbg Made _afailed() and uncompress() be fastcall functions. 2015-03-13 07:35:47 -04:00
em Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
gamate Introduced internal gotoxy that pops both parameters. 2016-06-05 14:58:38 +02:00
geos-apple directory structure changed from driver-centric to target-centric 2016-05-16 19:49:43 +02:00
geos-cbm Create static drivers directly from source files. 2014-06-04 23:50:18 +02:00
geos-common Introduced internal gotoxy that pops both parameters. 2016-06-05 14:58:38 +02:00
joystick added compiler/assembler target, lib compiles 2014-11-29 15:35:20 +01:00
lynx Renamed RAM to MAIN for all disk based targets. 2016-03-07 01:28:55 +01:00
mouse Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
nes Introduced internal gotoxy that pops both parameters. 2016-06-05 14:58:38 +02:00
osic1p Introduced internal gotoxy that pops both parameters. 2016-06-05 14:58:38 +02:00
pce Introduced internal gotoxy that pops both parameters. 2016-06-05 14:58:38 +02:00
pet Introduced internal gotoxy that pops both parameters. 2016-06-05 14:58:38 +02:00
plus4 Added C-code interfaces for the CBM Kernal functions SCNKEY and UDTIM. 2016-08-07 15:50:10 -04:00
runtime Renamed INITBSS to INIT and INIT to ONCE. 2016-03-06 21:27:19 +01:00
serial Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
sim6502 Renamed RAM to MAIN for all disk based targets. 2016-03-07 01:28:55 +01:00
supervision Don't presume the stack size to be a multiple of pages. 2016-03-10 10:07:09 +01:00
tgi Changed multi-line C comments into another style. 2014-06-30 16:51:07 -04:00
vic20 Introduced internal gotoxy that pops both parameters. 2016-06-05 14:58:38 +02:00
zlib Used more mundane addressing in some of the instructions in "zlib/inflatemem.s". 2016-07-19 10:42:49 -04:00
Makefile samples zip and install targets moved into samples/Makefile as agreed 2016-05-30 17:42:01 +02:00