1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 21:32:19 +00:00
cc65/libsrc/atari
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
..
emd
joy
mou
ser
targetutil
tgi
_scrsize.s
_sys.s
break.s
carthdr.s
cartinit.s
cartstart.s
cashdr.s
casinit.s
cclear.s
cgetc.s
chline.s
clock.s
close.s
clrscr.s
color.s
cputc.s
crt0.s
ctype.s
cvline.s
dio_cts.s
dio_stc.s
diopncls.s
dioqsize.s
dioread.s
diowrite.s
diowritev.s
do_oserr.s
doesclrscr.s
dosdetect.s
exec.s
exehdr.s
exetrailer.s
fd.inc
fdtab.s
fdtable.s
fdtoiocb.s
findfreeiocb.inc
findfreeiocb.s
get_tv.s
getargs.s
getdefdev.s
getfd.s
gotox.s
gotoxy.s
gotoy.s
graphics.s
initcwd.s
inviocb.s
irq.s
is_cmdline_dos.s
joy_stat_stddrv.s
joy_stddrv.s
kbhit.s
libref.s
lseek.s
Makefile.inc
mcbdefault.s
mcbpm-shape.s
mcbpm.s
mcbtxtchar-char.s
mcbtxtchar.s
mouse_stat_stddrv.s
mouse_stddrv.s
mouseref.s
mul40.s
open.s
oserrlist.s
oserror.s
ostype.s
posixdirent.s
randomize.s
read.s
revers.s
romswitch.inc
rwcommon.s
save_area.inc
save_area.s
savevec.s
scrdev.s
scroll.s
serref.s
setcolor.s
shadow_ram_handlers.s
shadow_ram_prepare.s
shadow_ram_timerirq1.s
siocall.s
syschdir.s
sysmkdir.s
sysremove.s
sysrename.s
sysrmdir.s
system_check.s
systime.s
sysuname.s
tgi_colors.s
tgi_stat_stddrv.s
tgi_stddrv.s
toascii.s
ucase_fn.s
wherex.s
wherey.s
write.s
xlmemchk.inc