Christian Groessler
7623d4ea83
conio.h: include 'creativision.h' when compiling for this target.
2017-09-12 21:57:16 +02:00
Greg King
5802b0963f
Made <conio.h> include <atari5200.h> when we compile for the Atari 5200 console.
...
atari5200.lib has some conio functions.
2017-09-10 12:27:57 -04:00
Oliver Schmidt
308f74561c
Merge pull request #482 from greg-king5/pet-kbrepeat
...
Make the CBM Pet kbrepeat() work on both 40-/80-column machines.
2017-09-06 09:19:04 +02:00
Greg King
51765c6e5c
Removed an unwanted button mask table from a VIC-20 joystick driver.
...
It had put the jump table at the wrong place. Programs crashed as soon as they tried to initiate the driver.
2017-09-05 16:56:20 -04:00
Greg King
3c0b8c4e86
Made the CBM Pet kbrepeat() work on both 40-column and 80-column machines.
...
Put the kbrepeat() description in an alphabetical position in the function document.
2017-09-05 09:19:01 -04:00
Oliver Schmidt
0deeccebf8
Added JOY_FIRE.
...
According to https://en.wikipedia.org/wiki/Atari_8-bit_computer_peripherals it seems appropriate to add a JOY_FIRE definition for the ATARI.
2017-09-04 09:41:19 +02:00
Oliver Schmidt
4cfa3e6f92
Merge pull request #480 from phs/phs/docs-typo
...
At most 256 bytes will be reserved
2017-09-04 09:15:36 +02:00
Phil Smith
ded1c20190
Reserve space in examples with .res
2017-09-02 19:30:14 -07:00
Phil Smith
929553dc8d
At most 256 bytes will be reserved
2017-09-02 00:02:47 -07:00
Oliver Schmidt
4aa19494f5
Removed dysfunctional kbrepeatdelay() and kbrepeatrate().
...
As discussed in https://github.com/cc65/cc65/pull/452 after my premature merge the two functions in question don't work as expected.
Additionally I adjusted several style deviations in the pull request in question.
2017-08-30 16:37:59 +02:00
Greg King
7a1f5358df
Fixed missing name and semicolon in two device structs.
2017-08-23 01:46:57 -04:00
Oliver Schmidt
acf831658f
Adjusted to recent driver interface change.
...
Please note that this change is absolutely untested!
Apart from the recent driver interface change:
- vic20-stdjoy.s was "slightly broken" because it didn't clear x on return from joy_read.
- vic20-ptvjoy.s was "heavily broken" because it returned a totally different set of bits of the first joystick.
2017-08-20 17:17:39 +02:00
Oliver Schmidt
20c85c8a1c
Minor style adjustment.
2017-08-20 17:17:38 +02:00
Oliver Schmidt
a817da7c6b
Adjusted to recent driver interface change.
...
Please note that this change is absolutely untested!
2017-08-20 17:17:37 +02:00
Oliver Schmidt
b5a4e5667a
Merge pull request #452 from mrdudz/kbrepeat
...
kbrepeatdelay and kbrepeatrate for cbm targets
2017-08-20 14:15:37 +02:00
Oliver Schmidt
0c54a19a0b
Adjusted to recent driver interface change.
...
The change is inspired by the code of the standard joystick driver. It is however absolutely untested.
Note: Sites like http://raster.atariportal.cz/english.htm state that there needs to be a delay when reading joysticks via the MultiJoy adapter. There's no such delay in the driver. But I don't dare to decide to add it.
2017-08-20 11:49:02 +02:00
mrdudz
3c3558892e
add note on fastcall
2017-08-19 19:16:31 +02:00
mrdudz
960957075f
use fastcall
2017-08-19 19:14:24 +02:00
Oliver Schmidt
7f52a770d9
Removed joy_masks array.
...
So far the joy_masks array allowed several joystick drivers for a single target to each have different joy_read return values. However this meant that every call to joy_read implied an additional joy_masks lookup to post-process the return value.
Given that almost all targets only come with a single joystick driver this seems an inappropriate overhead. Therefore now the target header files contain constants matching the return value of the joy_read of the joystick driver(s) on that target.
If there indeed are several joystick drivers for a single target they must agree on a common return value for joy_read. In some cases this was alredy the case as there's a "natural" return value for joy_read. However a few joystick drivers need to be adjusted. This may cause some overhead inside the driver. But that is for sure smaller than the overhead introduced by the joy_masks lookup before.
!!! ToDo !!!
The following three joystick drivers become broken with this commit and need to be adjusted:
- atrmj8.s
- c64-numpad.s
- vic20-stdjoy.s
2017-08-19 19:11:28 +02:00
Bob Andrews
5dcebbccb6
Merge branch 'master' into kbrepeat
2017-08-06 20:22:52 +02:00
mrdudz
99e6dd18d6
resolve conflict
2017-08-06 20:20:22 +02:00
mrdudz
dafe3c1e3c
added documentation for the kbrepeat... functions
2017-08-06 20:15:35 +02:00
mrdudz
bd9208879e
added prototypes and proposed constants
2017-08-06 18:09:40 +02:00
Oliver Schmidt
f5e9b4012a
Merge pull request #473 from groessler/something_to_pull
...
atari5200.inc: fix formatting
2017-08-03 00:46:22 +02:00
Christian Groessler
f9c59a0976
atari5200.inc: fix formatting
2017-08-02 23:59:32 +02:00
Oliver Schmidt
92ff854bff
Removed undesirable empty lines.
2017-07-31 13:50:27 +02:00
Oliver Schmidt
16ec131586
Merge pull request #472 from gungwald/master
...
Added doc for file types and aux types
2017-07-31 13:46:20 +02:00
Bill Chatfield
0bd5a8a331
Made corrections according to review comments
2017-07-30 19:51:23 -04:00
Bill Chatfield
85e572f4e1
Made corrections according to review comments
2017-07-30 19:49:20 -04:00
Bill Chatfield
9d89613bb2
Added documentation for setting the file type for fopen.
2017-07-29 01:25:07 -04:00
Bill Chatfield
2c7b757b4c
Documented _filetype and _auxtype
2017-07-28 17:44:13 -04:00
Oliver Schmidt
375ee571c2
Removed 'fire'.
2017-07-28 19:19:11 +02:00
Oliver Schmidt
ef17e65c1b
Merge pull request #467 from pmjdebruijn/joy
...
joy: refactor generic joy_masks array indices and macros
2017-07-28 19:17:50 +02:00
Oliver Schmidt
5bb6e62b84
Merge pull request #471 from gungwald/master
...
Added ProDOS file types and auxiliary types
2017-07-28 18:22:24 +02:00
Bill Chatfield
80c1c94a87
Corrected comment formatting
2017-07-28 12:16:55 -04:00
Bill Chatfield
f40bb93677
Added Variables section comment per convention
2017-07-28 12:12:18 -04:00
Bill Chatfield
abb2e8034b
Moved file type variables to apple2_filetype.h
2017-07-28 12:09:58 -04:00
Bill Chatfield
9459f11688
Corrected copyright and moved file type globals
...
The file type globals., _filetype and _auxtype, were moved from apple2.h to this file.
2017-07-28 12:01:57 -04:00
Bill Chatfield
91d0659663
Rolled back changes to exclude vim swap files
...
Only files generated by the tools in the project are to be ignored
2017-07-28 11:29:11 -04:00
Bill Chatfield
e64e11d2c5
Finished adding all types and comments
2017-07-27 14:44:02 -04:00
Bill Chatfield
a623169477
Added ProDOS file type definitions
2017-07-26 11:15:49 -04:00
Pascal de Bruijn
c802c9c946
joy: refactor generic joy_masks array indices and macros
2017-07-23 23:45:52 +02:00
Oliver Schmidt
5d333239c6
Merge pull request #468 from pmjdebruijn/samples
...
make changes
2017-07-23 02:09:20 +02:00
Oliver Schmidt
f0d760de4a
Merge pull request #462 from pmjdebruijn/pragma-message
...
pragma: add minimalist message pragma implementation
2017-07-22 16:54:23 +02:00
Pascal de Bruijn
19f6ae1d54
make: change uppercase prefix var
2017-07-22 16:38:50 +02:00
Pascal de Bruijn
64581b65b0
samples: install to subdirectory
2017-07-22 16:33:42 +02:00
Pascal de Bruijn
80b27bde5e
pragma: add minimalist message pragma documentation
...
documents 6e93c1ba73
2017-07-22 15:35:24 +02:00
Oliver Schmidt
d90f032114
Merge pull request #464 from pmjdebruijn/joy
...
expand nes/pce joystick defines
2017-07-21 16:18:26 +02:00
Pascal de Bruijn
8ad72fc9ca
pce: add system specific joy_masks array indices and macros
2017-07-19 18:29:35 +02:00
Pascal de Bruijn
d277055b5a
nes: add system specific joy_masks array indices and macros
2017-07-19 18:14:44 +02:00