Oliver Schmidt
8886e6f100
Merge pull request #620 from blackystardust/master
...
Added c16/plus4 fast(), isfast() and slow() functions, and updated the documentation accordingly.
2018-03-31 11:57:27 +02:00
Greg King
b844572159
Moved most of the tgi_colors.s files into the libsrc/common/ directory.
...
Only the Apple2 and Lynx platforms use different codes for the white color; they have their own files.
2018-03-27 07:28:46 -04:00
Greg King
155f3ade41
C64 TGI: LINE: Optimization: Don't check boundaries; LINE always is called by tgi_clippedline().
...
Submitted in Pull Request #611 by Sven Michael Klose.
2018-03-26 07:28:01 -04:00
Marco van den Heuvel
8424286a3e
Add c16 files as well.
2018-03-23 14:31:53 -07:00
Marco van den Heuvel
03ba3f7473
Added c16/plus4 fast(), isfast() and slow() functions, and updated the documentation accordingly.
2018-03-23 14:27:15 -07:00
Marco van den Heuvel
d34c93a464
Set X register to 0 so that 16bit promotion works as expected.
2018-03-20 14:05:55 -07:00
Marco van den Heuvel
5d4116f05f
Added isfast function which returns a 1 when the C128 is in 2MHz mode.
2018-03-20 13:11:24 -07:00
Marco van den Heuvel
2533cc8d75
Added the vic20 georam emd.
2018-03-19 11:34:41 -07:00
Marco van den Heuvel
0c7496f08b
Added vic20 - ram emd.
2018-03-16 14:23:52 -07:00
Oliver Schmidt
316d8e9d37
Merge pull request #609 from polluks/master
...
Added missing PCE conio functions.
2018-03-11 08:58:23 +00:00
Stefan
789ce59fb5
Added missing PCE conio functions.
2018-03-11 00:49:40 +01:00
Oliver Schmidt
be30c0bd70
Merge pull request #606 from pfusik/ldec
...
Optimize deceaxy
2018-03-10 11:28:46 +00:00
Piotr Fusik
18ada212e7
Fix coding style.
2018-03-09 18:48:24 +01:00
Piotr Fusik
970c5f6184
Add comments.
2018-03-08 22:10:11 +01:00
Bob Andrews
7e6942953c
Merge pull request #604 from blackystardust/master
...
Improved reu size detection.
2018-03-08 19:19:35 +01:00
Oliver Schmidt
d602105dd4
Merge pull request #605 from mrdudz/4playerfix
...
4playerfix
2018-03-08 08:09:24 +00:00
Oliver Schmidt
8e75906737
Switched Apple II output format to AppleSingle.
...
Although the primary target OS for the Apple II for sure isn't DOS 3.3 but ProDOS 8 the Apple II binary files contained a DOS 3.3 4-byte header. Recently I was made aware of the AppleSingle file format. That format is a much better way to transport Apple II meta data from the cc65 toolchain to the ProDOS 8 file system. Therefore I asked AppleCommander to support the AppleSingle file format. Now that there's an AppleCommander BETA with AppleSingle support it's the right time for this change.
I bumped version to 2.17 because of this from the perspective of Apple II users of course incompatible change.
2018-03-07 23:05:21 +01:00
Piotr Fusik
5251b67d73
Fix comment typos.
2018-03-07 21:01:29 +01:00
Piotr Fusik
a32c50a6bc
Optimize deceaxy.
2018-03-07 20:45:50 +01:00
mrdudz
3afbed48e0
tweak driver to no more use IRQ
2018-03-07 00:20:42 +01:00
Marco van den Heuvel
b783280577
Replaced reu commands with defined constants.
2018-03-05 17:46:51 -08:00
Marco van den Heuvel
40e93dd931
Improved reu size detection.
2018-03-05 15:01:55 -08:00
Marco van den Heuvel
b37e06da8f
Fixed hex digits case.
2018-03-02 14:09:02 -08:00
Marco van den Heuvel
5a9d908007
Added 2a03/2a07 and HuC6280 detection.
2018-03-01 14:57:42 -08:00
Oliver Schmidt
298fe25281
Merge pull request #599 from greg-king5/pce-point-func
...
Fix how the PC-Engine calls functions through pointers.
2018-03-01 16:50:40 +00:00
Greg King
549f09db9c
Made two indirect jumps through the zero-page go through page $20 on the PC-Engine.
2018-02-28 14:59:52 -05:00
Marco van den Heuvel
5d029af79e
Fixed the 65816/65802 detection.
2018-02-27 11:44:34 -08:00
Marco van den Heuvel
e79e779aba
Removed bit opcode, not needed anymore.
2018-02-26 19:30:25 -08:00
Marco van den Heuvel
e3779978b2
Added proper 65sc02, 65ce02 and 4510 detection.
2018-02-26 19:22:54 -08:00
Greg King
33f602f9ad
Shortenned the CBM close() by a byte and a cycle.
2018-02-26 15:07:13 -05:00
Oliver Schmidt
f19651cfea
Merge pull request #594 from greg-king5/pce-32k-rom
...
Change the PC-Engine's config., so that we can make 8K, 16K, and 32K carts.
2018-02-24 11:00:57 +00:00
Greg King
39b4b6838f
Made dio_read(), dio_write(), and dio_write_verify() catch sector number conversion errors.
2018-02-23 16:12:12 -05:00
Greg King
6fd56bf9b6
Fixed bugs in the geos-cbm DIO sector-number converter functions.
...
* The 16-bit comparison code actually didn't compare the high byte.
* This implementation supports only the 1541, 1571, and 1581; but, it didn't exclude the other drive types that GEOS supports.
* Two error code numbers were swapped.
* A 1571 converter didn't catch sector numbers that are too high.
* A 1581 converter didn't catch sector numbers that are too high.
2018-02-23 16:12:12 -05:00
Greg King
8476360e9f
Fixed bugs in geos-cbm's dio_open().
...
* Trying to open an unused drive would leave a byte on the hardware stack.
* Too high device numbers weren't caught.
2018-02-23 16:12:12 -05:00
Greg King
3a0506ccb3
Changed the PC-Engine's configuration file, so that the command line can build 8K, 16K, and 32K carts.
...
Adjusted the PCE's document, the start-up code, and the PCE library test makefile. That makefile shows how to post-process the linker's output file.
2018-02-23 16:06:49 -05:00
Marco van den Heuvel
b0ef67d14c
Added GEOS 1.3 and 1.5 detection.
2018-02-15 15:24:58 -08:00
Marco van den Heuvel
e17b9177de
Fixed GeOS -> GEOS and added newline to geossym2.inc.
2018-02-14 10:22:10 -08:00
Marco van den Heuvel
d93f84f4bc
Improved GeOS version detection.
2018-02-13 19:19:40 -08:00
Oliver Schmidt
dacee3b9ed
Removed IRQ support from TGI drivers.
...
All but one TGI drivers didn't use IRQs. Especially when the TGI driver kernel was the only .interruptor this meant quite some unnecessary overhead because it pulled in the whole IRQ infrastructure.
The one driver using IRQs (the graphics driver for the 160x102x16 mode on the Lynx) now uses a library reference to set up a JMP to its IRQ handler.
2018-02-02 18:15:45 +01:00
Oliver Schmidt
1976d6cd32
Removed IRQ support from joystick drivers.
...
All but one joystick drivers didn't use IRQs. Espsecially when the joystick driver kernel was the only .interruptor this meant quite some unnecessary overhead because it pulled in the whole IRQ infrastructure.
I was told that the one driver using IRQs (the DXS/HIT-4 Player joystick driver for the C64) can be reworked to not do it. Until this is done that driver is defunct.
2018-02-01 22:38:36 +01:00
Oliver Schmidt
27dacca4d3
Added missing dummy libref.
2018-02-01 22:06:59 +01:00
Oliver Schmidt
19ed94fe25
Adjust alternative ProDOS 8 I/O buffer allocation module to linker configs.
...
The Apple II linker configs don't define symbols for the STARTP segment anymore. There refer to the load/start address in the same way the executable file header does.
2018-01-31 15:06:37 +01:00
Oliver Schmidt
374c7e815c
Merge pull request #577 from polluks/master
...
Moved initcgetc to initcputc
2018-01-25 12:35:21 +00:00
Stefan
caa40866c3
Moved initcgetc to initcputc
2018-01-23 13:02:47 +01:00
Christian Groessler
643152fb38
Fix last change, put display list at beginning of ROM.
2018-01-21 15:40:22 +01:00
Christian Groessler
2ef6514e47
atari5200: put default display list into its own memory area
...
This avoids 1K boundary crossing of the display list. Fix for issue #560 .
2018-01-19 15:18:43 +01:00
Christian Groessler
f0708db792
crt0.s ("none" target): fix initialization of sp variable.
2018-01-11 13:15:19 +01:00
Greg King
da22c90d33
Shrank Telestrat initcwd.s by 3 bytes.
...
Changing when a loop test is done allowed the removal of an extra STA instruction.
2018-01-09 04:48:39 -05:00
Oliver Schmidt
1ea5889a87
Merge pull request #564 from bauen1/none-library
...
Add none.lib
2018-01-05 11:05:30 +00:00
bauen1
94077404f9
Added ctype.s to none.lib as suggested by oliverschmidt
2018-01-05 10:39:23 +01:00
bauen1
aa34aed7dd
Fixed unused import and export of none.cfg and none/crt0.s
2018-01-04 22:27:39 +01:00
bauen1
45482b4fb1
Fixed none/crt0.s to respect none.cfg
2018-01-04 22:14:01 +01:00
bauen1
4759d3956e
Removed initialization of the stack from none.lib
2018-01-04 13:54:00 +01:00
bauen1
98b2b2544d
Added crt0 to none.lib
2018-01-04 12:07:35 +01:00
bauen1
14909f12fe
Implemented the requested changes.
...
Moved none to its alphabetic place in the Makefile
Reverted all changes to doc/customizing.sgml
2018-01-04 11:17:20 +01:00
bauen1
72bb32fcda
Revert "Renamed none.lib to no-platform.lib"
...
This reverts commit 26350714ee
.
It breaks the build
2018-01-02 15:32:27 +01:00
bauen1
26350714ee
Renamed none.lib to no-platform.lib
2018-01-02 15:15:27 +01:00
Oliver Schmidt
d348d82d5a
Merge pull request #561 from mrdudz/soft80peek
...
C64 soft80 cpeek stuff
2018-01-01 16:13:04 +00:00
bauen1
b08839cac4
Added libray to none target
2017-12-31 16:15:27 +01:00
mrdudz
783408080c
convert to petscii
2017-12-28 17:52:27 +01:00
Christian Groessler
30c6018887
Implementation of getfirstdevice/getnextdevice for Atari.
2017-12-28 04:54:18 +01:00
mrdudz
f207a60365
some cleanup
2017-12-28 02:26:23 +01:00
mrdudz
0543ecabe2
added peek functions for soft80
2017-12-28 01:58:03 +01:00
Stefan
6497da262a
oops
...
I made a mistake.
2017-12-17 18:45:57 +01:00
Oliver Schmidt
fb193933cb
Merge pull request #552 from polluks/master
...
Added Oric-1 compatibility #550
2017-12-16 18:26:34 +00:00
Stefan
6faef87b49
Fixed Oric-1 compatibility #550
2017-12-15 23:51:39 +01:00
mrdudz
892732f340
fix cpeeks() for C128 VDC
2017-12-12 17:05:24 +01:00
mrdudz
4da22fc6a0
fix cpeeks for CBM610
2017-12-12 04:32:39 +01:00
mrdudz
74b5540f76
copy cpeeks from generic version, this at least makes it work for 40 columns
2017-12-12 03:48:43 +01:00
mrdudz
9a609f6766
fix petscii conversion for C128
2017-12-11 21:53:00 +01:00
mrdudz
8902730756
cbm stuff from greggs pull request
2017-12-11 19:52:11 +01:00
Oliver Schmidt
563185998f
Removed CBM chartype table.
2017-12-02 11:04:59 +01:00
Stefan
7d1c92dc12
New API
2017-11-21 10:33:48 +01:00
Stefan
c4baf9588e
directive removed
2017-11-21 10:29:35 +01:00
Stefan
f8f464846a
directive removed
2017-11-21 10:27:08 +01:00
Stefan
55117039f0
Merge pull request #3 from polluks/polluks-sv-joy
...
Added standard joystick driver for the Supervision.
2017-11-21 06:59:55 +01:00
Stefan
949c2aa76f
Add files via upload
2017-11-21 06:57:02 +01:00
Stefan
12bfed04b1
Create supervision-stdjoy.s
2017-11-21 06:53:26 +01:00
jede
4e0958eae6
Bug corrected : Fwrite did not return number of byte written.
2017-11-14 22:04:57 +01:00
Oliver Schmidt
06794b221d
Made cbm_k_untlk() available.
2017-11-13 20:38:41 +01:00
Oliver Schmidt
0f87844a7c
Merge pull request #519 from jedeoric/master
...
[Telestrat] mkdir is now available
2017-11-11 21:09:59 +00:00
Fabrizio Caruso
0a61b061c7
Update gamate-stdjoy.s
2017-11-09 16:42:52 +01:00
Fabrizio Caruso
bf0ae22969
Update gamate-stdjoy.s
2017-11-09 16:36:06 +01:00
U-AMAIISDOM\fcaruso
e4a235b233
Correct bits in gamate joystick detection
2017-11-09 13:51:04 +01:00
Piotr Fusik
84edf4cbfd
Fix more than 256 codes of same length.
...
Fix all 256 literal codes of same length.
2017-11-07 20:10:19 +01:00
Piotr Fusik
d3451bb299
Fix 256 codes of same length
2017-11-06 19:46:26 +01:00
Stefan
9ee4431994
Add files via upload
...
Alternative joystick interface
2017-11-02 21:11:08 +01:00
jede
807b55862d
Now mkdir is working
2017-10-28 00:37:47 +02:00
Oliver Schmidt
15d9373ad7
Merge pull request #507 from jedeoric/master
...
[telestrat] tgi_line & tgi_outtext are available, toascii.s added, doc updated
2017-10-25 14:49:14 +00:00
jede
3bc0843afc
FIX label for setpixelmode
2017-10-23 23:25:08 +02:00
jede
aaf8863de5
Merge branch 'master' of https://github.com/jedeoric/cc65
2017-10-23 23:04:22 +02:00
jede
1403d797f0
Remove toascii.s
2017-10-23 20:52:22 +02:00
Oliver Schmidt
c0ce20e9cc
Save/restore jmpvec as it is used by generated code - see g_callind().
2017-10-23 18:57:28 +02:00
Oliver Schmidt
bd9b4ef60c
Replaced three (logically) identical files with a single file.
2017-10-23 18:35:06 +02:00
jede
0517a2c2ab
removing extra spaces
2017-10-22 23:12:12 +02:00
jedeoric
af1c7f0c8b
Merge branch 'master' into master
2017-10-22 23:11:18 +02:00
jede
93f202850a
toascii.s added, doc updated, tgi_line & tgi_outtext are available
2017-10-22 23:06:56 +02:00
Oliver Schmidt
4da1d3232f
Merge pull request #504 from jedeoric/master
...
[Telestrat] TGI initialization, some bugs (clrscr) correction, cgetc optimization, irq management
2017-10-22 11:14:55 +00:00
jede
351a5ab20a
Now setPixel works in TGI.
2017-10-20 21:03:30 +02:00
jede
f964fdbe56
Correction : authors
2017-10-16 18:18:36 +02:00
jede
195b5f0a07
Optimizing (from Polluks tip)
2017-10-16 18:15:53 +02:00
jede
18c94e123f
tgi_clear, tgi_init, tgi_done, tgi_getmaxx, tgi_getmaxy are working
2017-10-16 18:08:48 +02:00
jede
7b74264720
irq.s added
2017-10-16 17:34:32 +02:00
jede
db1319de4c
clrscr.s switch to text mode
2017-10-16 17:28:00 +02:00
Oliver Schmidt
820b4dbc77
Merge pull request #503 from jedeoric/master
...
[telestrat] cgetc is now available
2017-10-08 17:56:04 +00:00
jede
a01c8c238c
Correcting comments
2017-10-08 18:14:26 +02:00
jede
ff12835ee2
Adding cgetc
2017-10-08 18:11:09 +02:00
Christian Groessler
a084ea8e42
Atari: split "setcursor" function out of cgetc.s source file into setcursor.s.
...
This function is used by many other CONIO functions, and the user program not
necessarily uses 'cgetc'. Having "setcursor" in a different object file saves
space in this case and also allows the user program to override it (e.g. when
not using GRAPHICS 0 mode).
2017-10-03 21:58:52 +02:00
jede
56360ea054
optimize
2017-10-02 12:20:52 +02:00
jede
a1c8860f63
telestrat : cgetc add for conio
2017-10-01 23:23:03 +02:00
Oliver Schmidt
3a6430b13d
Merge pull request #494 from jedeoric/master
...
[telestrat] Adding some vars, adding getcwd management, changing ZP address and ZP length
2017-09-27 09:52:19 +02:00
jede
d8904c550b
Fixing buffer overflow with cwd command (FILENAME_MAX must be at 50 +1 bytes)
2017-09-25 21:39:57 +02:00
jede
86741cb1dd
correcting missing _
2017-09-24 20:07:02 +02:00
jede
5bbb27c8af
Fixing bug for cwd
2017-09-24 20:04:50 +02:00
jede
fabb6acf3f
Initcwd is now working for telestrat
2017-09-24 19:23:44 +02: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
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
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
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
Pascal de Bruijn
19f6ae1d54
make: change uppercase prefix var
2017-07-22 16:38:50 +02:00
Oliver Schmidt
6002e59c28
Merge pull request #453 from mrdudz/waitvsync
...
waitvblank for cbm targets
2017-07-18 15:38:27 +02:00
mrdudz
b6d3d32e88
wait for line 0 instead of last line
2017-07-18 01:06:20 +02:00
mrdudz
8eee51913a
add headers/fix formatting
2017-07-18 01:04:53 +02:00
mrdudz
c24080f289
do banking
2017-07-18 00:41:54 +02:00
mrdudz
fe850fece8
implement waitvsync for plus4/c16
2017-07-17 23:55:18 +02:00
mrdudz
1abce3a2a1
rename all waitvblank() to waitvsync()
2017-07-17 23:15:05 +02:00
Oliver Schmidt
26a2d8a5c6
Merge pull request #457 from pfusik/const-arrays
...
Make some arrays const.
2017-06-30 09:28:40 +02:00
Greg King
141c25b42b
Added the extra dependency file's directory as an order-only prerequisite.
...
The extra dependency files are put into different places than the extra object files' location. Therefore, the rule must pre-make two directories.
2017-06-29 13:56:29 -04:00
Piotr Fusik
b31ae57be1
Make some arrays const.
2017-06-28 20:43:31 +02:00
Greg King
d1501731e4
Added a makefile dependency for the libraries' "extra" files.
...
Some of the files in "libsrc/*/extra/" include other library files. But, the "lib/*.o" files weren't rebuilt when those other files changed.
The new dependency rules must be "bootstrapped". You must force a rebuild of all of the extra library object files (it will create the dependency files). Use these commands:
rm lib/*.o
make lib
2017-06-28 05:51:46 -04:00
Greg King
bd883327ac
Added two functions that make it easier to write portable programs for Ohio Scientific computers.
2017-06-26 02:34:23 -04:00
mrdudz
3ff4a1333c
use BIT so akku wont get trashed at least in 40 cols mode
2017-06-22 00:19:39 +02:00
mrdudz
49aad01bf1
dont trash akku if possible, use VDC register when in 80column mode
2017-06-21 23:18:00 +02:00
mrdudz
a42feca228
fixed some stuff, compiles again :)
2017-06-17 02:37:34 +02:00
mrdudz
035621aa95
fixed code a bit so it compiles again :)
2017-06-17 02:26:54 +02:00
Greg King
30f941ba39
Added a missing label to some conio cursor movement functions.
...
It had prevented other functions, e.g. cputs(), from being linked into a program.
2017-06-15 16:44:46 -04:00
Lauri Kasanen
4235e569d2
Small lz4 optimizations
2017-06-09 16:57:47 +03:00
Lauri Kasanen
c444ed5e4f
Mention the optimizations in a comment
2017-06-09 10:42:24 +03:00
Lauri Kasanen
bba961e54d
Use hex immediates
2017-06-09 10:40:17 +03:00
Lauri Kasanen
cd460a8160
Remove _ from internal vars
2017-06-09 10:37:50 +03:00
Lauri Kasanen
ee49ecdf43
Expand tabs to spaces in lz4.s
2017-06-06 19:31:16 +03:00
Lauri Kasanen
e75a59d7a8
Add LZ4 decompression support
2017-06-06 18:48:25 +03:00
Oliver Schmidt
035baa49bd
Merge pull request #438 from bbbradsmith/ca65_rand_comment
...
rand.s comment update
2017-05-26 15:16:42 +02:00
Brad Smith
950d65e8ed
detectabl > detectable
2017-05-25 03:20:11 -04:00
Brad Smith
1602aab6e9
forgot to update comments from earlier #323 rand.s change
2017-05-25 03:01:25 -04:00
Stefan
75028e4108
shorter code
2017-05-18 23:58:10 +02:00
Lauri Kasanen
a84463a3df
callptr4
2017-05-01 21:08:03 +03:00
Oliver Schmidt
e43dbe1c24
Just some white space fixes of recently contributed code.
2017-04-06 17:53:57 +02:00
Oliver Schmidt
275b27647e
Removed superfluous final linefeed.
2017-04-04 15:43:56 +02:00
Oliver Schmidt
233dd5062a
Merge pull request #389 from IrgendwerA8/stringimprovements
...
Optimization of string functions (size & speed).
2017-04-04 15:39:37 +02:00
Oliver Schmidt
5095dd72b2
Merge pull request #402 from IrgendwerA8/runtime_improvements
...
few 6502 and some 65SC02 runtime optimizations
2017-03-20 11:34:06 +01:00
IrgendwerA8
1abfa98290
minor style changes
2017-03-19 20:51:54 +01:00
Oliver Schmidt
2048d6cfb5
Removed top blank line.
2017-03-18 20:57:12 +01:00
Christian Groessler
a3d8829be9
Creativison changes.
...
This change includes some cleanups, removal of mainargs.s (game console
programs never have arguments), and a workaround for a problem I'm seeing.
The problem is that sometimes (in fact, more often than not) the clrscr()
call in testcode/lib/joy-test.c writes some garbage chars on the screen (most
often a "P"). Could be my hardware (I haven't seen it on MAME), but to
me the root cause is still unknown.
2017-03-17 21:42:51 +01:00
IrgendwerA8
0de44517ac
few 6502 and some 65SC02 optimizations
2017-03-12 23:21:43 +01:00
Christian Groessler
8a81f9c0c8
Fix line endings (CRLF -> LF) on all affected files.
2017-03-10 11:21:14 +01:00
Oliver Schmidt
b332064cb5
Just some minor style fix.
2017-03-09 14:39:08 +01:00
Christian Groessler
64c4cef901
Implement diagonal direction handling in creativision joystick driver.
2017-03-08 13:19:53 +01:00
IrgendwerA8
8d1b80e6fd
Fixed CPU-flag usage which fails on build server?!
2017-03-05 11:38:55 +01:00
IrgendwerA8
81115aa826
Added further optimizations and unit tests.
2017-03-05 02:09:12 +01:00
Christian Groessler
9558ebf86c
creativision/crt0.s: enable display interrupts in display controller configuration
...
Otherwise the joystick zero page locations won't get updated.
2017-03-04 10:04:32 +01:00
IrgendwerA8
3d28f5ca90
Fixed indentation
2017-02-26 22:36:19 +01:00
IrgendwerA8
c240d42a9e
Added "strrchr" optimizaion a matching unit test and tiny unit test framework. (Documentation for that will follow later)
2017-02-26 20:03:05 +01:00
jede
b0e035ba2b
Cleaning
2017-02-25 22:23:46 +01:00
jede
7bc3bff83f
adding gotox.s gotoy.s wherex.s wherey.s
2017-02-25 22:20:17 +01:00
jede
1497330cc0
adding clrscr.s
2017-02-25 22:10:13 +01:00
jede
f6002a149c
adding gotoxy.s
2017-02-25 21:32:06 +01:00
IrgendwerA8
6afcc370ed
Optimization of two string functions (size & speed).
2017-02-25 20:19:50 +01:00
Christian Groessler
ddae920ee9
remove old joystick code
2017-02-15 15:53:57 +01:00
Christian Groessler
e6530d68dd
Fix joystick driver. Add interruptor support.
...
Note that the joystick driver doesn't support combined movements (like
left/up or right/down). This should be fixed.
2017-02-15 15:45:49 +01:00
Christian Groessler
c0803ed53a
fix indentation
2017-02-14 23:52:44 +01:00
Christian Groessler
a5fba551d1
Merge remote-tracking branch 'upstream/master' into something_to_pull2
2017-02-13 21:38:38 +01:00
Piotr Fusik
4266e712f2
Optimize inflatemem.
...
The new version is 30% shorter and 10% faster.
It also avoids the indirect-X addressing mode, which was a problem for PC-Engine.
2017-02-12 11:41:11 +01:00
Oliver Schmidt
5bbf010029
Merge pull request #371 from jedeoric/master
...
Create an Oric Telestrat target library
2017-02-10 23:47:13 +01:00
Christian Groessler
38451fa8a4
intermediate check-in -- creativision joystick driver
2017-02-08 14:34:35 +01:00
Greg King
69e3bbea7e
Reverted 'Used more mundane addressing in some of the instructions in "zlib/inflatemem.s".'
...
This reverted some of commit e7e65044e6
.
2017-02-07 07:33:27 -05:00
Christian Groessler
984f901604
Merge remote-tracking branch 'upstream/master' into something_to_pull2
2017-02-06 19:32:00 +01:00
Christian Groessler
39a1a142e3
gamate, lynx, nes, pce: remove joy_stddrv.s
...
These targets don't support dynamically loaded joystick drivers.
2017-02-06 19:26:12 +01:00
jede
d2fc2c74fb
Correcting scrsize.s into _scrsize.s
2017-02-03 21:11:37 +01:00
jede
d76911d38a
Fixing telestrat.h
2017-02-02 22:53:28 +01:00
jede
5abb40b229
Last push for tonight :)
2017-02-02 00:11:11 +01:00
jede
4b77072fed
Correcting alignment
2017-02-02 00:05:50 +01:00
jede
0e649f24ea
Correcting some code from github comments
2017-02-01 23:58:33 +01:00
Christian Groessler
a08f905224
Cleanups for Creativision.
2017-02-01 20:09:03 +01:00
Christian Groessler
0b2a699b46
Merge remote-tracking branch 'upstream/master' into creativision-neu
2017-02-01 18:49:31 +01:00
Christian Groessler
07f840f11c
Merge remote-tracking branch 'upstream/master' into creativision
2017-02-01 18:15:05 +01:00
Christian Groessler
034c668b15
pce/memcpy.s: remove superfluous comma in comment
2017-02-01 17:52:30 +01:00
jede
d9778994fa
Correcting some spaces
2017-01-31 22:33:19 +01:00
jede
6f58b9a22d
Correcting comments alignment
...
Correcting an address error in telestrat.inc when cleaning files which broke read.s primitive
2017-01-31 22:20:19 +01:00
jede
b5fef66f37
Merge telemon24 and telemon30 into telestrat target.
...
Cleaning, and replace tab to spaces
Converting hex lowercase value into uppercase char.
Changing := and = when it was needed
2017-01-31 22:09:14 +01:00
jede
06b2b83ab2
Correcting spaces
2017-01-29 23:18:32 +01:00
jede
29881fb7c9
Revert
2017-01-29 22:28:54 +01:00
jede
d1b5a6632d
Adding telemon30 and telemon24 primitives
2017-01-29 21:18:49 +01:00