Oliver Schmidt
6cce110345
Adjusted URL to use https (and removed obsolete dates).
2018-09-20 12:45:15 +02:00
Oliver Schmidt
b6e4add9b5
Switch to https links.
...
Most targets redirected to https anyway.
2018-09-20 12:21:58 +02:00
Oliver Schmidt
aa219d1ec7
The doc now lives in the 'master' branch of the 'doc' project.
2018-09-18 23:39:11 +02:00
Christian Groessler
d52d986aca
libsrc/atari/getdefdev.s: small optimization and fix a typo
2018-09-14 16:54:20 +02:00
greg-king5
d8ad89c4b4
Merge pull request #740 from laubzega/master
...
Add segment type "overwrite".
2018-09-14 00:59:47 -04:00
Christian Groessler
4691974466
Atari: Make a good "default device" on AtariDOS (2.0 and 2.5) and MyDOS.
...
The default device will be the one the program was loaded from instead of
always D1:.
2018-09-13 22:33:54 +02:00
Laubzega
3bace79604
Fixed reference link.
2018-09-12 23:51:38 -07:00
Laubzega
3432788763
Slight fixes to the documentation.
2018-09-11 22:14:45 -07:00
Christian Groessler
08d164a811
fix comment in last change
2018-09-12 01:20:12 +02:00
Christian Groessler
e4e3dbf756
atarixl: check at startup whether RAM beneath the ROM is in use
...
If detected, the program refuses to run, preventing a crash.
The check only works with SpartaDOS. I don't have an overview which
DOSes potentially use the RAM under the ROM. Or which other installed
programs might use it.
No additional runtime memory space is consumed, since the change
is in the "system check" load chunk which gets replaced by the
user program during loading.
2018-09-12 01:05:52 +02:00
Laubzega
1646acb26f
First cut of "overwrite" segment docs.
2018-09-08 19:20:01 -07:00
Laubzega
d293d766ef
New segment type renamed to "overwrite".
2018-09-08 19:18:41 -07:00
Oliver Schmidt
c7a40db1b7
Added hint random number generator hint.
2018-09-08 23:59:39 +02:00
Oliver Schmidt
a9a102b0e8
Protect random counter against ProDOS.
...
Although documented nowhere (!!!) ProDOS trashes the random counter locations $4E/$4F. Is discovered this because my TCP connections didn't have random local ports.
It's a really funny coincidence that David Finnigan discovered only 3 years ago the very same issue because of the very same reason: https://groups.google.com/forum/#!topic/comp.sys.apple2.programmer/1ciep_Oetvo
2018-09-08 23:29:59 +02:00
Oliver Schmidt
cddc4da3bb
Just removed some trailing spaces.
2018-09-08 23:14:54 +02:00
Oliver Schmidt
73faf60fe0
Support randomize().
...
In order to have randomize() work as expected (and the Apple II random number generation in general) it is necessary to update the random counter during keypress wait just like the ROM function does.
2018-09-08 18:45:20 +02:00
Christian Groessler
b6ccd4d5d4
Atari: RealDOS adaptations
...
RealDOS is a SpartaDOS clone. Handle it the same way as SpartaDOS.
2018-09-06 15:55:07 +02:00
Christian Groessler
e9b8f5d814
Atari: Add detection of RealDOS ( http://www.realdos.net/realdos.html ).
2018-09-06 12:08:50 +02:00
Laubzega
c7bb27bac9
Rename more stuff from "overlay" to "replace".
2018-09-06 00:18:39 -07:00
Christian Groessler
af50b5e516
Atari: atarixl config files already had a LOWBSS segment.
2018-09-05 11:28:15 +02:00
Christian Groessler
a104c289da
Atari: atari-cart.cfg: There's a simpler way to discard the contents of the LOWBSS segment.
...
Thanks to Greg King for the hint.
2018-09-05 11:28:15 +02:00
Christian Groessler
1cc4fa9356
Atari: fix interrupt handling if extended memory is banked in
...
Extendend memory is mapped over the main memory in the 0x4000..0x7FFF
area. Many DOSes disable interrupts while extended memory is banked in,
but not all (e.g. SpartaDOS-X).
This change modifies the initial interrupt handler to map in main memory
before chaining to the "worker" handlers.
Since the initial interrupt handler uses a data segment to store the
trampoline to chain to the original handler, introduce a new "LOWBSS"
segment to hold this trampoline. Otherwise the trampoline may end up
inside the 0x4000..0x7FFF area.
Add a link time warning if "LOWCODE" segment lays within the extended
memory window.
2018-09-05 11:28:15 +02:00
Christian Groessler
d199ca1460
Atari, Atari5200: disable "attract mode" on mouse or joystick input
...
Fixes #736 .
2018-09-05 11:23:12 +02:00
Laubzega
cd9efd53fe
Segment OVERLAY renamed to REPLACE. Bugfix for read-only segments. Formatting.
2018-09-04 00:34:28 -07:00
Oliver Schmidt
70a131e09a
Just a minor comment improvement.
2018-09-02 23:07:26 +02:00
Greg King
39694d0aaa
Fixed bugs; and, improved the efficiency of some pce library functions.
2018-08-30 11:48:46 +02:00
Greg King
959eff34a3
Fixed and improved some pce comments.
2018-08-30 11:48:46 +02:00
Greg King
2cc822b44e
Fixed some mistakes (mostly in the documentation).
2018-08-30 11:48:46 +02:00
Greg King
b5d939c858
Style changes.
2018-08-30 11:48:46 +02:00
Greg King
203200e259
Used I/O mirror locations that avoid (redirected) zero-page accesses.
2018-08-30 11:48:46 +02:00
Greg King
c39d07dd17
Document style clean-up.
2018-08-29 15:43:20 -04:00
Greg King
f2d2f3c193
Moved the NES font into its own object module.
...
It can be replaced by a custom font when a program is built.
2018-08-29 12:13:58 -04:00
greg-king5
a08192b53e
Merge pull request #706 from xlar54/master
...
* tgi driver for c128 VIC-II
* Made the VIC-IIe TGI driver put its bitmap behind the ROMs.
* c128-hi.tgi doc
2018-08-29 10:34:05 -04:00
Laubzega
1b0e2cf783
Fix for multiple overlay segments.
2018-08-25 20:21:12 -07:00
Laubzega
8b584cb89f
Add segment type "overlay".
2018-08-25 10:18:23 -07:00
Christian Groessler
2d4210b309
Atari5200 joystick driver: enable POT input.
...
The "Atari800" emulator doesn't emulate this aspect, therefore the problem
wasn't noticed before.
2018-08-24 17:04:31 +02:00
Greg King
31461aaf02
Made cc65's "Illegal escaped character" diagnostic show which code was escaped.
2018-08-21 08:58:21 -04:00
Stefan
f3ef819b43
Update crt0.s
2018-08-21 12:21:56 +02:00
Stefan
3ae5161636
CMOS optimisation 3rd
...
"The decimal flag D is cleared" [...]
http://shu.emuunlim.com/download/pcedocs/pce_cpu.html
2018-08-21 12:21:56 +02:00
Greg King
a76dcdc419
Removed the compiler's recovery code for illegal escaped characters.
...
It caused the error cascade that it was supposed to prevent.
2018-08-20 17:51:22 -04:00
Stefan
199226d089
Update irq.s
2018-08-20 22:31:08 +02:00
Stefan
e335b50ed1
CMOS optimisation
...
The Lynx CPU always cleared the flag.
2018-08-20 22:30:41 +02:00
Patrick Pelletier
357d94e834
seek test: Test some additional error cases.
2018-08-20 22:24:48 +02:00
Patrick Pelletier
0a7702626f
seek test: remove trailing newline from filename
...
Looks like no one ever tried this? fopen was returning EINVAL because
fgets was leaving a trailing newline at the end of the filename.
(Which is what fgets is documented to do.)
2018-08-20 22:24:48 +02:00
Patrick Pelletier
b37d0a444c
lseek: Return EINVAL if new position is less than 0 or greater than 2^24 - 1.
...
Also, implemented @greg-king5's suggestion to save a byte on error paths.
2018-08-20 22:24:48 +02:00
Patrick Pelletier
59a4ab8778
lseek: Implement additional feedback from PR #723 .
...
* Check CPU_ISET_65SC02 rather than APPLE2ENH.
* Set sreg and sreg+1 to $FF on error, to return -1 as a long.
2018-08-20 22:24:48 +02:00
Patrick Pelletier
8cb930b50e
lseek: use STZ for APPLE2ENH
...
(As suggested in pull request.)
2018-08-20 22:24:48 +02:00
Patrick Pelletier
68a115cacf
Fix ftell() on Apple II to return the correct value.
...
Fixes this issue:
https://github.com/cc65/cc65/issues/722
ftell() returns the value returned by lseek(), and lseek() for the
Apple II wasn't returning a value.
2018-08-20 22:24:48 +02:00
Greg King
9fee605e65
Added more source-code improvements to the conio test program.
...
Also, made the f6/f5 function keys change the border color instead of the background color.
2018-08-20 14:55:39 -04:00
Oliver Schmidt
13790bdbf0
Improved CONIO test in several ways.
...
- Use more consistent source code style.
- Don't presume that CH_F... constants are present.
- Allow to quit the program via 'Enter'.
2018-08-20 00:30:17 +02:00