Oliver Schmidt
99f0a56f63
Merge pull request #122 from groessler/a5200
...
new target: Atari 5200 console
2014-05-30 22:52:51 +02:00
Christian Groessler
ef1e96aff0
small optimization
2014-05-27 01:50:22 +02:00
Oliver Schmidt
d6c3bd29ac
Renamed JUMPTABLE and cleaned up module.cfg.
...
This change was suppsed to fix the issue that the former JUMPTABLE is merked as 'ro' while it is actually written to in several scenarios. When drivers are converted using co65 and then compiled into ROMs the JUMPTABLE isn't copied to RAM and therefore the write operations in question fail.
However unfortunately I didn't succeed in changing that :-( Just setting the former JUMPTABLE to 'rw' broke the drivers. So I placed the DATA segment directly after the former JUMPTABLE segment. This made the drivers converted with co65 work again - obviously after changing libsrc/Makefile:235 from '--code-label' to '--data-label'. But the actual dynamic drivers still didn't work as the former JUMPTABLE wasn't placed as the beginning of the loaded file anymore. That effect could be changed by exchanging src/ld65/o65.c:1391 with src/ld65/o65.c:1394 but doing so broke the drivers again :-((
2014-05-01 21:44:39 +02:00
Christian Groessler
f290c1aa28
remove build warning
2014-04-25 13:21:54 +02:00
Christian Groessler
ec417c0dc5
Merge remote-tracking branch 'upstream/master' into a5200
2014-04-25 02:07:44 +02:00
Christian Groessler
401e18d982
Put mouse cursor shape definition into .rodata.
2014-04-24 02:04:08 +02:00
Oliver Schmidt
9e3154220c
Merge pull request #106 from groessler/something_to_pull
...
add P/M (aka 'Sprite') mouse callback for Atari
2014-04-22 20:01:43 +02:00
Christian Groessler
2059e34114
rename ser_libref.s to serref.s in order to be consistent with other targets
2014-04-22 13:42:17 +02:00
Christian Groessler
eefd33d309
Split libref.s into multiple files to prevent inclusion of unnecessary code.
2014-04-22 12:50:07 +02:00
Christian Groessler
7eaf721e7c
Selection whether to use page 6 for mouse P/M data is not done in
...
Makefile.inc, like the other compile-time options. Small fix in the
P/M mouse "show" routine: adapt mouse cursor colors to current
screen colors.
2014-04-21 11:41:37 +02:00
Christian Groessler
88e3e60550
address issue raised in the pull request; add support to not use page 6
...
again
2014-04-15 11:37:34 +02:00
Christian Groessler
526b440b24
- always use page 6 for P/M mouse cursor
...
- make cursor character of text mode callback configurable
- change default cursor character of text mode callback from 'plus' to 'diamond'
- set P/M callback as default
2014-04-11 23:51:49 +02:00
Christian Groessler
661203a89a
initial version of a P/M mouse callback
2014-04-11 23:51:49 +02:00
Christian Groessler
f266612697
Merge remote-tracking branch 'upstream/master' into a5200
2014-03-20 00:24:11 +01:00
Christian Groessler
889783bedb
add some conio functions
2014-03-11 01:17:59 +01:00
Christian Groessler
73df73194a
fix indentation
2014-03-07 23:15:57 +01:00
Christian Groessler
b40fe584d8
fix typo
2014-03-07 23:15:11 +01:00
Oliver Schmidt
3f0af9b241
Have src/Makefile and libsrc/Make use disjoint work directories.
...
Building the clean target in src or libsrc should only delete stuff created by the make in those directories. Having both separated allows the Travis CI build to replace the native binaries with cross built binaries while keeping everything else.
2014-03-05 23:24:35 +01:00
Oliver Schmidt
44ccb27549
Changed Makefile.inc handling.
...
It seems more appropriate to trigger the inclusion of Makefile.inc via $TARGET (instead of $SRCDIR). This is btw. more consistent with extzp.s inclusion which is triggered via $TARGET too.
2014-03-04 21:46:25 +01:00
Christian Groessler
bf8eb8c22e
rename libsrc/atari/tvtype.s to libsrc/atari/get_tv.s
2014-03-04 15:44:10 +01:00
Oliver Schmidt
3f7cd3387f
Optimize for size instead for speed.
2014-03-03 21:08:35 +01:00
Christian Groessler
7a9fa9d4cd
rename W2CAS.COM to w2cas.com (lowercase)
2014-03-03 18:12:11 +01:00
Christian Groessler
69f81f6d67
make 'w2cas' a targetutil
2014-03-01 13:11:52 +01:00
Christian Groessler
81fe7a3805
cleanups; split 'header' and 'init' part into two source files
2014-02-21 22:43:44 +01:00
Christian Groessler
65874d4604
Merge remote-tracking branch 'upstream/master' into cassette
2014-02-20 01:05:10 +01:00
Christian Groessler
b326a04b1e
fix uninitialized use of 'buflen'
2014-02-19 22:39:39 +01:00
Christian Groessler
b496a400ec
Merge remote-tracking branch 'upstream/master' into cassette
...
ecessary,
2014-02-18 21:36:53 +01:00
Christian Groessler
b477023783
Turn off mouse polling interrupt if the mouse hasn't been moved for
...
some time. Turn it back on when the mouse is moved again.
Since the polling interrupt runs at a rather high frequency (1kHz),
this saves many processor cycles when the mouse is inactive.
2014-02-14 01:44:00 +01:00
Christian Groessler
3bd5d3f88b
Merge remote-tracking branch 'upstream/master' into cassette
...
Conflicts:
asminc/atari.inc
libsrc/atari/mou/atrst.s
2014-01-30 10:48:13 +01:00
Christian Groessler
0cf0ed5510
Disable the high frequency mouse polling IRQ while the system does
...
time critical things (CRITICAL flag set).
2014-01-29 23:40:48 +01:00
Christian Groessler
33bc340814
add missing stddrv defines for atarixl
2014-01-21 23:09:00 +01:00
Christian Groessler
63ce6e28fe
Adapt to new mouse driver interface ('prep' and 'draw')
2014-01-20 23:04:31 +01:00
Christian Groessler
9e155eb096
Always print the mouse cursor, even if coordinates haven't changed.
...
This makes sure that the cursor is always visible, even if the program
has written text to the screen (only valid for non-P/M mouse callbacks).
2014-01-20 23:04:31 +01:00
Christian Groessler
1fd7c2b318
fix bug where the high byte of X and Y positions were destroyed of
...
the user had lifted the pen
2014-01-20 23:04:31 +01:00
Christian Groessler
ecd10e632a
some comment fixes
2014-01-20 23:04:31 +01:00
Christian Groessler
97d512a1e1
Detect pen button. If we read 228 for X or Y position, don't change cursor
...
position, since the pen was probably lifted from the pad.
2014-01-20 23:04:30 +01:00
Christian Groessler
6026776460
Trakball mouse driver
2014-01-20 23:04:30 +01:00
Christian Groessler
d61b8754fb
Adapt to new mouse driver interface ('prep' and 'draw')
2014-01-20 23:04:30 +01:00
Christian Groessler
09aa007191
Change display logic of mouse cursor (hide and show functions).
2014-01-20 23:04:30 +01:00
Christian Groessler
2be7c7c88d
Always print the mouse cursor, even if coordinates haven't changed.
...
This makes sure that the cursor is always visible, even if the program
has written text to the screen (only valid for non-P/M mouse callbacks).
2014-01-20 23:04:30 +01:00
Christian Groessler
77ba5b7e1c
Fix timer IRQ hooking for atarixl target.
2014-01-20 23:04:30 +01:00
Christian Groessler
597c4a6b89
add comment
2014-01-20 23:04:29 +01:00
Christian Groessler
c78d7a82fb
use ST mouse as static standard driver, too
2014-01-20 23:04:29 +01:00
Christian Groessler
c22b91e3c3
align comment to the same column
2014-01-20 23:04:29 +01:00
Christian Groessler
09da71c5d9
another small cleanup
2014-01-20 23:04:29 +01:00
Christian Groessler
24198a9ebb
small cleanup
2014-01-20 23:04:29 +01:00
Christian Groessler
d614fc4e64
When disabling interrupts, restore original interrupt flag afterwards.
2014-01-20 23:04:29 +01:00
Christian Groessler
d742eeca9f
Add drivers for ST mouse, Amiga mouse, and Atari trakball. Access
...
routines taken from old mouse.s.
2014-01-20 23:04:29 +01:00
Christian Groessler
95c6063f90
Add "joystick mouse" driver and default mouse callback routine (not
...
using P/M graphics).
2014-01-20 23:04:28 +01:00
Christian Groessler
2ab89621a9
Use deferred VBI instead of immediate VBI. A deferred VBI won't be
...
called if the user program has interrupts disabled which makes it
easier to avoid race conditions.
2014-01-20 23:04:28 +01:00