Marco van den Heuvel
11629bcf99
Added C65/C64DX accelerator code and documentation.
2018-04-27 14:22:41 -07:00
Oliver Schmidt
47e4b36180
Merge pull request #631 from blackystardust/master
...
Added C64 Chameleon accelerator code and documentation.
2018-04-27 20:47:03 +02:00
Marco van den Heuvel
97e69952c4
Removed extern keyword from function prototypes.
2018-04-27 09:16:25 -07:00
Marco van den Heuvel
1428015158
Optimized the code a bit as suggested by Greg.
2018-04-26 09:18:54 -07:00
Greg King
c92a3c5bd5
Improved the accelerator code. Fixed an infinite loop.
...
Removed the execute permissions from some files.
2018-04-26 05:46:34 -04:00
Marco van den Heuvel
f2e46f0fdf
Added C64 Chameleon accelerator code and documentation.
2018-04-25 12:53:29 -07:00
Oliver Schmidt
fc61bc79c5
Merge pull request #629 from blackystardust/master
...
Added C128 accelerator code and documentation for both C128 mode and C128 in C64 mode.
2018-04-25 15:08:11 +02:00
Marco van den Heuvel
cc2bcb8a4d
Changed c128 accelerator code and documention to include both C64 and C128 support.
2018-04-23 19:25:11 -07:00
Oliver Schmidt
fe33a39d6c
Merge pull request #628 from ops/VIAFIX_PET
...
Pet: Add missing VIA register names
2018-04-23 15:58:13 +02:00
Marco van den Heuvel
28f26991ac
Updated c128 accelerator code and documentation.
2018-04-21 09:52:50 -07:00
Marco van den Heuvel
3f5683b391
Added C128 in C64 mode accelerator code and documentation.
2018-04-20 12:08:28 -07:00
Olli Savia
c2adade8a8
Updated to use the new VIA register names
2018-04-20 21:25:43 +03:00
Oliver Schmidt
305c6e7ae4
Merge pull request #626 from blackystardust/master
...
Added c64dtv accelerator code and documentation.
2018-04-20 20:01:16 +02:00
Oliver Schmidt
53df4da8e8
Merge pull request #625 from ops/VIAFIX
...
VIC-20: Add missing VIA register names
2018-04-18 17:09:35 +02:00
Oliver Schmidt
d314a27e76
Merge pull request #627 from jedeoric/master
...
[Telestrat target] fix fwrite bug, cputc, chline, remove & mkdir added
2018-04-16 22:46:56 +02:00
jede
cc2b5af601
Fix comment
2018-04-16 21:51:15 +02:00
Marco van den Heuvel
ef73310cce
Fixed more comments.
2018-04-16 11:05:52 -07:00
Marco van den Heuvel
0aa2735d4e
Fixed another comment.
2018-04-15 12:15:19 -07:00
Marco van den Heuvel
c5f15fa1d5
Fixed some comment and documentation errors.
2018-04-15 11:55:58 -07:00
jede
626fed88b7
chline added
2018-04-14 22:05:03 +02:00
jede
e34ef0fc17
add cputc & remove
2018-04-14 21:52:11 +02:00
Marco van den Heuvel
cb04bc5465
Fixed an issue with the changing the d040 value while detecting.
2018-04-14 11:31:28 -07:00
Marco van den Heuvel
6076316f38
Added c64dtv accelerator code and documentation.
2018-04-14 10:40:13 -07:00
Oliver Schmidt
a10f36c837
Merge pull request #623 from blackystardust/master
...
Added C64/C128 SuperCPU accelerator functions and started on a generic framework for accelerators.
2018-04-13 21:43:34 +02:00
Olli Savia
79433ddb60
Updated to use the new VIA register names.
2018-04-11 22:40:46 +03:00
Stefan
a50d214ffb
Simpler get_tv
...
You don't have to count the beam, just check the KERNAL.
2018-04-10 18:37:10 +00:00
Marco van den Heuvel
89c3ed6d7f
Added C64/C128 SuperCPU accelerator functions and started on a generic framework for accelerators.
2018-04-09 19:36:53 -07:00
Marco van den Heuvel
61e5b9d218
Changed #10 to #-basha for clarity.
2018-04-01 13:14:44 -07:00
Marco van den Heuvel
9db6f059ac
Fixed cpu detection.
2018-03-31 18:59:15 -07:00
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
Christian Groessler
bba7c980e4
libsrc/c16/get_tv.s: remove code duplication
...
Use the plus4 version of get_tv.s.
2017-01-26 16:43:47 +01:00
Christian Groessler
f613ee0f57
More optimization in libsrc/atari/is_cmdline_dos.s.
...
Suggestion by Spiro Trikaliotis.
2017-01-24 21:01:42 +01:00
Christian Groessler
6f463d60a3
Small space optimization in libsrc/atari/is_cmdline_dos.s.
2017-01-24 20:21:56 +01:00
jede
038ac5a65a
Correcting doc adding telemon 2.4 primitives
2017-01-22 21:41:49 +01:00
Greg King
54ff808c2c
Added a way to show the default mouse pointer on C64 TGI (graphics) screens.
2017-01-18 16:05:47 -05:00
Florent Flament
c1aac0de0e
Add C support for Atari 2600 (VCS)
2017-01-13 21:12:22 +01:00
jede
d5ba063602
Correcting some bugs
2017-01-04 20:03:19 +01:00
Marshall Ward
09495519c0
NES memory map amend (16k prg, 8k chr default)
...
The configuration file and runtime (crt0.s) provided for the default NES
ROM layout (2x16k PRG, 8k CHR) incorrectly added interrupts (IRQ1, IRQ2,
TIMERIRQ) which are not supported by the NES hardware. For example, see
the NESdev wiki, which makes no reference to these interrupts.
https://wiki.nesdev.com/w/index.php/CPU_memory_map
The VECTORS region was also incorrectly set to 0xFFF6, which would have
left the 0xFFF4 normally unspecified. This did not result in any error,
however, since cc65 simply placed ROMV directly after ROM0 regardless of
start address.
(This layout may be due to a copy-and-paste from the PC-Engine
configuration, whose interrupt registers start at 0xFFF6, begins with
the three interrupts listed above, followed by NMI and START, and does
not end with a final IRQ interrupt.)
Despite the absence of any actual error, since START is still placed at
0xFFFC, this patch removes the nonexistent interrupts and also correctly
aligns the ROM0 and ROMV regions. It also has the (admittedly very
minor) benefit of freeing up 6 additional bytes for ROM0.
2016-12-24 08:32:54 +11:00
jede
15ac85b50c
Adding ch376.h header, correcting some bugs
2016-12-14 23:45:20 +01:00
jede
252e4afb9c
Adding files for telemon30
2016-12-14 21:22:10 +01:00
Oliver Schmidt
819ecbda26
Merge pull request #348 from SvOlli/release
...
ca65: added .P4510 and .IFP4510 pseudo commands
2016-09-20 16:19:45 +02:00
Oliver Schmidt
709ee6a28b
Merge pull request #341 from alexthissen/master
...
Update exehdr.s for Lynx target
2016-09-14 10:23:44 +02:00
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
Alex Thissen
ef7e9db116
Changed __BLOCKSIZE__ to __BANK0BLOCKSIZE__.
...
Added __BANK1BLOCKSIZE__ which defaults to 0.
2016-09-11 22:26:52 +02:00
Sven Oliver Moll
c0d2643952
added 4510 cpu detection to getcpu.s
2016-09-07 19:44:11 +02:00
alexthissen
e786d1cf49
Update exehdr.s
...
Fix for memory bank 1 which should be zero for almost all cartridges for emulators to work correctly.
2016-08-27 21:58:13 +02:00
Greg King
2c03b9a1bc
Added C-code interfaces for the CBM Kernal functions SCNKEY and UDTIM.
2016-08-07 15:50:10 -04:00
Greg King
e7e65044e6
Used more mundane addressing in some of the instructions in "zlib/inflatemem.s".
...
That avoids conflicts with ca65's future .setdp feature.
2016-07-19 10:42:49 -04:00
Brad Smith
32d000fb4c
Fix broken rand() implementation. The high 8 bits were unused, reducing it to a 24-bit implementation (while still doing all the work for a 32-bit one). The best entropy is in the unused high byte, returning these bits in A instead of bits 8-15, which had considerably lower entropy (i.e. rand() & 255 was effectively a 16-bit LCG).
2016-07-11 20:48:47 -04:00
Greg King
c2945bf1ff
Made the zlib's inflatemem()'s source file use enhanced instructions for all 65SC02-compatible CPUs (not only the 65C02).
2016-07-10 05:05:38 -04:00
Oliver Schmidt
e47485f925
Added CONIO cursor support.
...
For quite some time I deliberately didn't add cursor support to the Apple II CONIO imöplementation. I consider it inappropriate to increase the size of cgetc() unduly for a rather seldom used feature.
There's no hardware cursor on the Apple II so displaying a cursor during keyboard input means reading the character stored at the cursor location, writing the cursor character, reading the keyboard and finally writing back the character read initially.
The naive approach is to reuse the part of cputc() that determines the memory location of the character at the cursor position in order to read the character stored there. However that means to add at least one additional JSR / RTS pair to cputc() adding 4 bytes and 12 cycles :-( Apart from that this approach means still a "too" large cgetc().
The approach implemented instead is to include all functionality required by cgetc() into cputc() - which is to read the current character before writing a new one. This may seem surprising at first glance but an LDA(),Y / TAX sequence adds only 3 bytes and 7 cycles so it cheaper than the JSR / RTS pair and allows to brings down the code increase in cgetc() down to a reasonable value.
However so far the internal cputc() code in question saved the X register. Now it uses the X register to return the old character present before writing the new character for cgetc(). This requires some rather small adjustments in other functions using that internal cputc() code.
2016-06-19 15:03:20 +02:00
Greg King
f91a7e749b
Fixed the Plus/4 joystick driver.
...
It chooses a stick correctly. And, it reads the fire button.
2016-06-18 13:18:26 -04:00
Christian Groessler
a9c69bb8c9
A small rearrangement of instructions in Atari's exec() to let the comments
...
make sense again.
2016-06-16 00:47:13 +02:00
Christian Groessler
ec7751332f
Fix exec() for atarixl target.
...
The final part of exec() called 'excexit' and only then restored the
stack pointer to its value at program entry. 'excexit' does all
cleanup (the same as '_exit()'), which means that on the atarixl
target the ROM is banked in again. On big programs the 'SP_save'
variable might reside at a high memory address which is no longer
accessible after the ROM has been banked in.
The change just moves the restoration of the stack pointer before
the call to 'excexit'.
Another change lets exec.s compile if UCASE_FILENAME is not defined.
And some other small cleanups, also in open.s.
2016-06-15 23:52:16 +02:00
Oliver Schmidt
2c8b8d90bf
Merge pull request #311 from groessler/something_to_pull
...
Fix doesclrscrafterexit() function on atarixl target.
2016-06-15 08:59:50 +02:00
Christian Groessler
d0faf471b8
Some improvements to Atari exec() after review.
2016-06-14 20:44:57 +02:00
Christian Groessler
4aa9a414c6
Fix doesclrscrafterexit() function on atarixl target.
...
On atarixl, the screen is always cleared, regardless of the running DOS.
2016-06-13 21:16:27 +02:00
Christian Groessler
94ba9575ec
Implement exec() for Atari XDOS.
...
- Adds new ENOEXEC error code, also used by Apple2 targets.
- Maximum command line length is 40, incl. program name. This is
an XDOS restriction.
- testcode/lib/tinyshell.c has been extended to be able to run
programs.
2016-06-13 20:40:01 +02:00
Oliver Schmidt
2f486b6201
Merge pull request #307 from groessler/something_to_pull2
...
Add Atari version of of doesclrscrafterexit().
2016-06-07 15:13:28 +02:00
Christian Groessler
5705d0b55b
Use 'return0' for default 'doesclrscrafterexit()' implementation in libsrc/common.
...
Fix include/atari.h formatting.
2016-06-07 15:05:00 +02:00
Christian Groessler
346d88a6a7
Add issues from pull request #307 .
2016-06-07 12:07:38 +02:00
Christian Groessler
c7874b9f60
Add Atari version of of doesclrscrafterexit().
...
- Update documentation.
- Update atari.h and apple2.h header files.
- Adapt Atari test/target programs.
- Fix a typo in "div" entry in funcref.sgml.
2016-06-07 00:42:51 +02:00
Christian Groessler
27841c7b40
Some Atari runtime library fixes.
...
* libsrc/atari/ucase_fn.s: Fix handling if input parameter 'tmp2' is 0.
* libsrc/atari/open.s: Set 'tmp2' parameter for 'ucase_fn' if DEFAULT_DEVICE
is not defined.
2016-06-06 22:45:20 +02:00
Oliver Schmidt
13482984ca
Introduced internal gotoxy that pops both parameters.
...
About all CONIO functions offering a <...>xy variant call
popa
_gotoxy
By providing an internal gotoxy variant that starts with a popa all those CONIO function can be shortened by 3 bytes. As soon as program calls more than one CONIO function this means an overall code size reduction.
2016-06-05 14:58:38 +02:00
Oliver Schmidt
d670998814
Added Apple II version of doesclrscrafterexit().
...
The prototype and documentation is supposed to be provided together with the ATARI version.
2016-06-05 13:01:42 +02:00
Oliver Schmidt
89329f1519
Merge pull request #287 from silverdr/target_goodies
...
moved output of target utils and drivers to separate directory
2016-06-01 11:01:56 +02:00
Oliver Schmidt
f1a052f259
Merge pull request #303 from groessler/something_to_pull
...
Atari: get current drive on XDOS
2016-05-31 12:47:11 +02:00
Christian Groessler
0114a850d9
Atari, getdefdev.s: use mnemonics for 'crvec'.
2016-05-31 12:24:21 +02:00
Christian Groessler
4d02d47832
Use atexit() to wait for key press at program ternination.
...
Idea by polluks.
2016-05-31 10:38:02 +02:00
Christian Groessler
c1f17e9c18
Atari: make __getdefdev function ROM-friendly
2016-05-31 09:28:53 +02:00
Christian Groessler
9523fa2d33
Atari: get current drive on XDOS
2016-05-31 07:37:58 +02:00
Patrycjusz R. Łogiewa
4dcfc036c8
samples zip and install targets moved into samples/Makefile as agreed
2016-05-30 17:42:01 +02:00
Oliver Schmidt
b979fb5763
Minor adjustment to recent change.
2016-05-30 14:31:53 +02:00
Christian Groessler
a6c306500a
Small optimization in apple2 exec.s.
2016-05-30 14:16:37 +02:00
Patrycjusz R. Łogiewa
e36a636eee
Indenting optimised
2016-05-29 16:34:22 +02:00
Patrycjusz R. Łogiewa
ac5bb6707d
Post-review changes
2016-05-29 16:19:03 +02:00
Christian Groessler
b3d7c09ba1
forgot to add the new file atari/is_cmdline_dos.s in my last commit...
2016-05-25 01:06:53 +02:00
Christian Groessler
da65866e24
Atari: add new function '_is_cmdline_dos()' and some other small changes.
...
- use this function instead of directly looking at _dos_type in the included
targetutil and test programs
- fixes/improvements to the Atari runtime library regarding the recently
changed _dos_type values
- libsrc/atari/targetutil/w2cas.c: exit if no filename was entered
- add documentation for the new function
2016-05-25 00:57:43 +02:00
Christian Groessler
6d7dfad80b
add support for XDOS command lines
2016-05-24 03:06:00 +02:00
Patrycjusz R. Łogiewa
cc747946b2
removed variable usage
2016-05-16 22:35:24 +02:00
Patrycjusz R. Łogiewa
37f9929094
adapted for zip/install targets
2016-05-16 22:14:05 +02:00
Patrycjusz R. Łogiewa
ba10c74a7a
directory structure changed from driver-centric to target-centric
2016-05-16 19:49:43 +02:00
OzHawk
1369bed881
Update kernal.s
2016-05-16 08:41:13 +09:30
Patrycjusz R. Łogiewa
93f55c274b
moved output of target utils and drivers to separate directory
2016-05-13 14:28:58 +02:00
OzHawk
8bd2628d1e
Update the missing entries in the kernel jump table for the Vic20 with the actual function addresses.
...
The Vic20 does not have kernal table entries for the following functions.
;-----------------------------------------------------------------------------
; Functions which are not in the kernal jump table for VIC-20 but are for C64
CINT := $E518
IOINIT := $FDF9
RAMTAS := $FD8D
All other kernal entries are the same as the C64, however, without this change, the startup code fails.
Without this change the vic20.lib builds incorrectly.
2016-05-11 19:24:16 +09:30
Oliver Schmidt
f103617512
Use .macpack to include macro package.
2016-03-27 18:29:45 +02:00
Oliver Schmidt
e92f354740
Made use of recently added Apple scrcode macro.
2016-03-27 18:27:53 +02:00
Oliver Schmidt
c0e82f4200
Merge pull request #279 from greg-king5/atmos-reconfig
...
Convert the Atmos configuration to the new constructor segment model.
2016-03-27 00:36:05 +01:00
Oliver Schmidt
29d1400340
Allow _sys() to call ROM routines.
...
_sys() is supposed to be (primarily) intended to call ROM routines. Leveraging the "file overlay" mechanism of the cc65 build system allows to provide a Apple II specific _sys() implementation that temporarily switches in the ROM.
2016-03-25 21:57:06 +01:00
Greg King
7773fcb1e1
Converted the Atmos configuration to the new constructor segment model.
2016-03-18 11:28:56 -04:00
Oliver Schmidt
e3cbc7e8b8
Moved run location of ONCE segment.
...
Make the same changes to the Apple II that were done with 0ee9b2e446
to the C64.
Notes:
- The startup code deliberately doesn't make use of symbols defined for the LC segment as that segment is optional.
- The <...>-asm.cfg configs move the segment BSS to an own memory area BSS although this doesn't seem necessary. However the benefit is that the size of the memeory area MAIN is identical to the number of bytes loaded from disk into RAM. To keep this an invariant for all Apple II configs allows to simplify the EXEHDR to just refer to the symbols defined for MAIN.
2016-03-17 21:07:19 +01:00
Oliver Schmidt
1d1ba3ed3b
Adjusted constructors.
...
The constructors are _NOT_ allowed anymore to access the BSS. Rather they must use the DATA segment or the INIT segment. The latter isn't cleared at any point so the constructors may use it to expose values to the main program. However they must make sure to always write the values as they are not pre-initialized.
2016-03-16 16:28:32 +01:00
Oliver Schmidt
a2c9cb021a
Moved things into ONCE.
...
Code and or data used only during initialization belongs into the ONCE segment.
2016-03-15 22:55:36 +01:00
Oliver Schmidt
56a8c69b14
Use AX paradigm.
2016-03-13 21:23:45 +01:00
Oliver Schmidt
a3a22733f8
Cleaned up C64 linker configs.
...
The BSS segment and the ONCE segment share the same start address. So they need to be placed in two different memory areas.
So far BSS was placed in the MAIN memory area and ONCE was placed in an additional memory area. Both memory areas were written to the output file. They just "happened" to be loadable and runnable at a stretch.
Now ONCE is placed in the MAIN memory area and BSS is placed in an additional memory area. Only MAIN is written to the output file. It becomes more obvious that BSS is "just" defined to share memory with ONCE.
2016-03-13 14:32:07 +01:00
Oliver Schmidt
084453ba57
Don't presume the stack size to be a multiple of pages.
2016-03-10 10:07:09 +01:00
Oliver Schmidt
69fbcb30fd
Use AX paradigm for stack initalization.
2016-03-07 01:44:19 +01:00
Oliver Schmidt
d8c31cf1d3
Renamed RAM to MAIN for all disk based targets.
...
The name RAM doesn't make much sense in general for a memeory area because i.e. the zero page is for sure RAM but is not part of the memory area named RAM.
For disk based targets it makes sense to put the disk file more into focus and here MAIN means the main part of the file - in contrast to some header.
Only for ROM based targets the name RAM is kept as it makes sense to focus on the difference between RAM and ROM.
2016-03-07 01:28:55 +01:00
Oliver Schmidt
419eb700b5
Renamed INITBSS to INIT and INIT to ONCE.
...
The way we want to use the INITBSS segment - and especially the fact that it won't have the type bss on all ROM based targets - means that the name INITBSS is misleading. After all INIT is the best name from my perspective as it serves several purposes and therefore needs a rather generic name.
Unfortunately this means that the current INIT segment needs to be renamed too. Looking for a short (ideally 4 letter) name I came up with ONCE as it contains all code (and data) accessed only once during initialization.
2016-03-06 21:27:19 +01:00
mrdudz
eb96a90e5f
initial import from old sources
2016-02-28 22:35:46 +01:00
mrdudz
85760e0c53
initial import from old sources
2016-02-28 22:13:05 +01:00
Oliver Schmidt
3d08abcfa8
Load INITBSS segment from disk.
...
Conceptually the INITBSS segment is not initialized in any way. Therefore it makes sense to not load it from disk. However the INIT segment has to be loaded from disk and therefore moved to its run location above the INITBSS segment. The necessary move routine increases runtime RAM usage :-(
Therefore we now "unnecessarily" load the INITBSS segment from disk too meaning that the INIT segment is loaded at its run location. Therefore there's no need for the move routine anymore.
After all we trade disk space for (runtime) RAM space - an easy decision ;-)
Notes:
- The code allowing to re-run a program without re-load present so far could not have worked as far as I can see as it only avoided to re-run the move routine but still tried to re-run the code in the INIT segment that was clobbered by zeroing the BSS. Therefore I removed the code in question altogether. I'm personally not into this "dirty re-run" but if someone wants to add an actually working solution I won't block that.
- INITBSS is intentionally not just merged with the DATA segment as ROM-based targets can't reuse the INIT segment for the BSS and therefore have no reason to place the INIT segment above INITBSS.
- Because ROM-based targets don't copy INITBSS from the ROM (like it is done with the DATA segment) all users of INITBSS _MUST_NOT_ presume INITBSS to be initialized with zeros!
2016-02-28 19:45:36 +01:00
Oliver Schmidt
54e09fdd03
Added basic frame for new target 'creativision'.
...
Kym Greenshields <kym.greenshields@gmail.com> has expressed interest
in contributing and maintaining support for the VTech CreatiVision system.
this resembles commit 8e6b8dd0af
from oliver
2016-02-28 19:05:40 +01:00
Bob Andrews
a8d3b83c43
Merge pull request #7 from cvemu/master
...
Initial Creativision Import
2016-02-28 18:25:01 +01:00
Bob Andrews
25f4482641
Merge pull request #238 from mrdudz/gamate
...
Bit Corporation 'Gamate' support
2016-02-27 18:44:26 +01:00
Bob Andrews
3f72e59e93
Merge pull request #241 from blackystardust/c128-function-ram-emd
...
C128 function ram emd
2016-02-27 18:08:55 +01:00
silverdr
2bcdf32458
blackystardust pull request with post-review changes
2016-02-26 23:55:55 +01:00
Lauri Kasanen
a954e713ad
nes: Fix reading the second controller
...
See
http://wiki.nesdev.com/w/index.php/Controller_port_registers
2015-12-14 19:28:53 +02:00
Oliver Schmidt
377f31d085
Fixed soft80 shutdown.
...
A call to $FDA3 cannot be used because it re-enables the BASIC ROM. If a large program (such as Contiki's webbrowser80) has destructor code or data "behind" that ROM, then the program might crash when it tries to quit gracefully. Changing that code to set CIA2_PRA works well enough.
2015-12-02 21:34:08 +01:00
Marco van den Heuvel
433eeb1bc7
Renamed MMU_CFG_INT_FROM -> MMU_CFG_IFROM and MMU_CFG_EXT_FROM -> MMU_CFG_EFROM
2015-12-02 00:30:30 -08:00
Marco van den Heuvel
7cd80e7450
optimized the sei/cli pairing a bit.
2015-12-02 00:21:55 -08:00
Marco van den Heuvel
f55505820a
optimized the sei/cli pairing a bit for internal function ram emd as well.
2015-12-02 00:17:29 -08:00
Marco van den Heuvel
83c63a65c3
optimized the sei/cli pairing a bit.
2015-12-02 00:14:56 -08:00
mrdudz
8a499fdf4e
fixup conio.c some more. also includes merge of upstream/master because git is retarded.
2015-12-02 00:13:32 +01:00
mrdudz
7de50b17c7
fix comments
2015-12-01 16:55:02 +01:00
Marco van den Heuvel
2e2f19ba79
Finished adding c128 internal/external function ram emd's.
2015-11-30 20:14:45 -08:00
Marco van den Heuvel
7df35cac94
Started on making c128 function ram emd's.
2015-11-30 09:53:30 -08:00
mrdudz
a95c95a5d3
added black line :)
2015-11-30 18:49:52 +01:00
Marco van den Heuvel
18208f4d2e
Fixed the c128 ram (bank 1) emd.
2015-11-29 23:04:23 -08:00
Marco van den Heuvel
cf9e7856cf
Removed an 'rts'.
2015-11-29 11:35:25 -08:00
mrdudz
b39a8b7a61
more cleanup
2015-11-29 20:04:10 +01:00
mrdudz
c636675521
moved cart header into seperate file, moved nmi stub into several file, tweaked linker config
2015-11-29 16:01:36 +01:00
mrdudz
1893e24da9
updated
2015-11-29 01:24:01 +01:00
mrdudz
9fbf8a4299
conio and most other stuff working now
2015-11-29 01:14:59 +01:00
mrdudz
4a49b0c8f8
reset screen editor at shutdown
2015-11-22 19:20:58 +01:00
mrdudz
88e7b5776a
some more fiddling
2015-11-22 19:02:47 +01:00
mrdudz
60285097e3
initial import of the gamate stuff
2015-11-14 13:15:29 +01:00
Oliver Schmidt
f70acd9f51
Merge pull request #227 from mrdudz/soft80syms
...
remove unneeded exports
2015-11-07 13:37:46 +01:00
mrdudz
54de8ac031
remove unneeded exports
2015-11-07 11:45:38 +01:00
Greg King
5e36315d05
Style changes.
2015-11-07 00:29:07 -05:00
Greg King
999d57401c
Added a version of memset() that uses the HuC6280's TII instruction to get more speed.
2015-11-06 23:59:19 -05:00
Greg King
8180ac20d3
Added code to handle the special case of a zero-length move.
...
Added more tests of memcpy() and memmove().
2015-11-02 17:09:45 -05:00
Greg King
8e8d112029
Added pce-specific substitutes for memcpy() and memmove().
...
They are smaller and faster because they take advantage of the pce CPU's block-copy instructions.
Also, made a small improvement to the common memmove(), so that it is similar to the pce version.
2015-10-23 18:02:21 -04:00
mrdudz
8f8f12ceab
use tii instead of copy loop to copy data section to ram
2015-10-22 19:48:21 +02:00
mrdudz
60334c40e6
added size optimized monochrom soft80 driver
2015-10-19 02:49:32 +02:00
mrdudz
d6d016bb80
updated comments
2015-10-19 02:47:40 +02:00
mrdudz
8263083506
move variables into INITBSS
2015-10-15 15:11:05 +02:00
mrdudz
63d4c93006
Merge remote-tracking branch 'upstream/master' into soft80
2015-10-15 15:07:44 +02:00
Oliver Schmidt
76a5a72403
Adjusted current working directory initialization on Apple and Atari.
...
Moving __cwd from BSS into INITBSS does of course ;-) not only impact the CBM targets but all targets with disk I/O support.
Note: Code using `__cwd-1` may trigger an ld65 range error because __cwd may end up at the very begining of a segment. As far as I see this is an ld65 bug which I'm not try to fix - at least here.
2015-10-15 00:15:38 +02:00
Oliver Schmidt
0ee9b2e446
Changed run location of INIT segment.
...
So far the INIT segment was run from the later heap+stack. Now the INIT segment is run from the later BSS. The background is that so far the INIT segment was pretty small (from $80 to $180 bytes). But upcoming changes will increase the INIT segment in certain scenarios up to ~ $1000 bytes. So programs with very limited heap+stack might just not been able to move the INIT segment to its run location. But moving the INIT segment to the later BSS allows it to occupy the later BSS+heap+stack.
In order to allow that the constructors are _NOT_ allowed anymore to access the BSS. Rather they must use the DATA segment or the new INITBSS segment. The latter isn't cleared at any point so the constructors may use it to expose values to the main program. However they must make sure to always write the values as they are not pre-initialized.
2015-10-14 22:52:09 +02:00
mrdudz
b9c688d997
remove deleted function from comment
2015-10-14 17:52:14 +02:00
mrdudz
e6f5c7d8da
some comments
2015-10-14 17:50:44 +02:00
mrdudz
f391c1c3d5
remove soft80_bordercolor override
2015-10-14 17:33:58 +02:00
mrdudz
59dd15aa55
split regular color.s into color.s and bordercolor.s
2015-10-14 17:25:35 +02:00
mrdudz
c708031374
use 'soft80_internal_cellcolor' for the current cell color, and CHARCOLOR for the actual textcolor
2015-10-14 17:24:16 +02:00
Oliver Schmidt
023b461bb8
According to the contributor the VGA data is accessed only by the constructor.
2015-10-14 11:50:54 +02:00
Oliver Schmidt
8f67dd5cc7
Merge pull request #215 from greg-king5/c64-init
...
Save space by using the apple2 target's INIT overlay scheme on the c64 target.
2015-10-14 10:43:11 +02:00
mrdudz
08d7eefdd7
another size optimization, make bgcolor() much more robust
2015-10-13 04:14:04 +02:00
mrdudz
f462c173fb
move some stuff to init segment, saves roughly 1480 bytes :)
2015-10-12 23:39:47 +02:00
mrdudz
362a172477
remove chline/cvline dupes
2015-10-12 21:23:27 +02:00
mrdudz
f876ff4c09
Merge remote-tracking branch 'upstream/master' into soft80
2015-10-12 21:13:32 +02:00
Oliver Schmidt
5e960d106e
Allow to override chars used for horizontal and vertical lines.
2015-10-12 21:04:06 +02:00
mrdudz
d6f48629ad
export mouse driver related symbols
2015-10-12 21:02:48 +02:00
mrdudz
5840d1c08c
increase conio constructor priority
2015-10-12 20:46:53 +02:00
mrdudz
df3549f502
Merge remote-tracking branch 'upstream/master' into soft80
2015-10-12 20:43:19 +02:00
mrdudz
57a43b6735
style issues
2015-10-12 20:38:06 +02:00
Oliver Schmidt
08efc299ff
Allow to override mouse sprite location data.
2015-10-12 20:18:13 +02:00
mrdudz
e9f0b7943e
some renaming, preparing plot table names
2015-10-12 19:57:33 +02:00
mrdudz
bf3ea5328f
inverted result for checkchar, saving some bytes and cycles
2015-10-12 19:03:50 +02:00
mrdudz
4557e8d004
optimize charcode conversion, shorter and faster now :)
2015-10-12 18:53:55 +02:00
mrdudz
aed0549760
remove some commented out code
2015-10-12 18:09:50 +02:00
mrdudz
ead9950044
some code shuffling to get rid of long branches
2015-10-12 18:01:48 +02:00
mrdudz
cf8b21b27e
size optimization
2015-10-12 17:12:44 +02:00
mrdudz
bc85d90468
check for space bottom up, which is faster for the average case
2015-10-12 16:15:40 +02:00
mrdudz
a2b514a7cf
fix some style issues
2015-10-12 15:54:08 +02:00
mrdudz
21732e3c5b
maintain lsb of cursor x position internally, saves some bytes and some cycles too :)
2015-10-12 15:44:41 +02:00
mrdudz
2a0f6c420b
moved bordercolor function into a seperate file
2015-10-12 15:18:36 +02:00
mrdudz
7f2df8e8e6
move internal text/bgcolor variables into the file that also contains the init code for them. also rename them to avoid namespace pollution
2015-10-12 15:04:55 +02:00
mrdudz
07f1879f85
added some more comments and -headers
2015-10-12 14:40:12 +02:00
mrdudz
d8d7f53d1b
move charset to seperate file again, added comments on charset layout
2015-10-11 17:13:28 +02:00
Oliver Schmidt
c4966ac6a6
Fixed stupid adressing mode bug.
...
Thanks Greg for pointing out :-)
2015-10-10 11:15:43 +02:00
mrdudz
03c6af3e15
rewrote color voodoo
2015-10-09 23:39:37 +02:00
Oliver Schmidt
ccc7c2b1f9
Minor style adjustment.
2015-10-09 22:18:51 +02:00
Oliver Schmidt
326da85145
Consistently place constructors (and their exclusive subroutines) in "INIT".
2015-10-09 21:44:20 +02:00
Oliver Schmidt
575f859a03
Keep low level VIC sprite stuff out of user code.
2015-10-09 18:33:35 +02:00
Greg King
8c609dd931
Explained why two variables were moved out of the BSS segment.
2015-10-09 12:00:41 -04:00
Oliver Schmidt
f21e3ae895
According to the contributor the prio wasn't intentionally set.
2015-10-09 13:42:25 +02:00
mrdudz
0b9d67d8a8
use default prio for the constructor
2015-10-09 13:40:10 +02:00
mrdudz
f712e9448a
some cleanup/rework
2015-10-09 13:34:23 +02:00
mrdudz
e54ad81ce8
some more rework, second attempt on fixing the color issues. added ifdefs to disable the color voodoo alltogether for debugging purposes.
2015-10-08 20:43:25 +02:00
Greg King
ca70700a0b
Restored the old C-stack initiation code.
...
I had forgotten that the stack must be put below the CBM overlays.
2015-10-08 06:04:49 -04:00
Greg King
8a880580dc
Reduced the size of the moveinit subroutine.
...
Made other changes that were recommended by Oliver.
* Changed its name from move_init to moveinit.
* Used self-modifying code in the subroutine.
* The INIT segment doesn't need to be optional (it's used by the start-up file).
2015-10-07 14:56:14 -04:00
mrdudz
67dabb8489
attempted fix for the color problem noticed by oliver
2015-10-06 20:18:40 +02:00
mrdudz
ee54f7f40c
optimized clrscr for size
2015-10-06 19:33:43 +02:00
Greg King
074e10d288
Adapted, to the c64 target, the INIT-segment overlay scheme from the apple2 targets.
...
When a program starts running, INIT is moved from one place to another place. Then, INIT's code is executed; and, the first place is re-used for variables. After the INIT code has finished, the second place can be re-used by the heap and the C stack. That means that initiation code and data won't waste any RAM space after they stop being needed.
2015-10-05 05:47:43 -04:00
mrdudz
23473641f4
fix clrscr so it doesnt wipe sprite pointers
2015-10-01 17:16:02 +02:00
mrdudz
5ea842b88b
SCREEN->screensize
2015-10-01 15:03:11 +02:00
Greg King
6217f8fa3a
Made the Commodore version of exec() work in programs that are so big that they load into all of BASIC RAM.
...
The function won't cause an "out of memory" error.
2015-09-28 11:27:39 -04:00
mrdudz
4949836d16
fixed kplot
2015-09-28 17:12:20 +02:00
mrdudz
841d764a83
some cleanup, checked usage of __bgcolor and __textcolor
2015-09-28 16:10:11 +02:00
mrdudz
7486923c17
dont use seperate file for charset data
2015-09-28 15:57:16 +02:00
mrdudz
6cc654cca8
added extra check for graphical chars
2015-09-28 15:10:57 +02:00
mrdudz
257183fa55
removed duplicate copy of charset and shift it at init time, saves 1k
2015-09-27 19:34:43 +02:00
mrdudz
c221fe22f6
prepend soft80_ to some more internally used functions
2015-09-27 19:10:06 +02:00
mrdudz
b5a6578dca
include bitmap and vram row tables directly rather than generating them (saves space)
2015-09-27 18:49:30 +02:00
mrdudz
fba28f46f6
fix initial text- and background colors
2015-09-27 18:36:53 +02:00
mrdudz
9e08c53b01
initial commit of soft80 implementation
2015-09-27 18:12:25 +02:00
Greg King
b82bb4f5ba
Moved two errno helper functions into separate files.
...
Only the function that actually is needed will be linked. It is very useful for targets that do not have file-system I/O.
2015-09-25 14:06:58 -04:00
Oliver Schmidt
b2657ecef5
Merge pull request #177 from mrdudz/pcenginetarget
...
new target: PC Engine (TurboGrafx16)
2015-09-24 09:58:28 +02:00
mrdudz
7d453a72fb
use 'plot' instead of 'PLOT'
2015-09-20 12:18:41 +02:00
mrdudz
296489ba6c
added interruptor support
2015-09-19 15:55:43 +02:00
mrdudz
859604407b
fixed more flaws found by greg :)
2015-09-19 15:37:39 +02:00
Oliver Schmidt
45313075fe
Merge pull request #208 from greg-king5/big-jump
...
Improve the longjmp() and setjmp() functions.
2015-09-11 21:06:50 +02:00
Greg King
dbf0adcec9
Improved longjmp() and setjmp().
2015-09-11 14:18:22 -04:00
Greg King
031bd2ebf0
Fixed the random-seed generators for the Commodore targets.
...
They use a byte from the time counter; but, it is stored in big-endian order.
2015-09-11 10:03:07 -04:00
mrdudz
088a25437d
fixed VDC register assignments
2015-09-07 12:55:36 +02:00
mrdudz
af2ba26c62
fix gregs complaints :)
2015-09-04 14:14:17 +02:00
mrdudz
d0a1dc73b8
Merge remote-tracking branch 'upstream/master' into pcenginetarget
2015-09-04 13:40:52 +02:00
mrdudz
57b8af1adc
style fixes
2015-08-29 15:58:57 +02:00
Greg King
9c55bd1c96
Fixed bugs in the interface for C-level interrupt handlers.
...
* Added an important ".code" directive.
* Import a linker-created zero-page symbol as an absolute address; then, convert it to zero-page when it is used.
Fixes bug report #198 .
2015-08-26 19:33:34 -04:00
Oliver Schmidt
657cc003be
Merge pull request #184 from greg-king5/fastcall
...
Update some fastcall info.
2015-07-23 17:11:49 +02:00
Greg King
52eec1f236
Updated the fastcall information in a document and two Assembly files.
2015-07-22 13:31:14 -04:00
Oliver Schmidt
673b27cc1b
Added empty IRQ backend.
...
The driver kernels all require IRQ handling even if the actual drivers don't make use of it. So in order to successfully link a NES program using the joystick and/or TGI driver there has to be at least a "dummy" IRQ backend.
2015-07-22 11:36:54 +02:00
mrdudz
0e29a0993f
Merge remote-tracking branch 'upstream/master' into pcenginetarget
2015-07-20 18:42:04 +02:00
mrdudz
313d2dd210
added missing chline, cvline
2015-07-19 18:06:16 +02:00
Greg King
a9982de475
Added _directerrno() to the sim6502/sim65c02 libraries.
2015-07-18 18:23:08 -04:00
Greg King
0b6bcb565e
Fixed a hardware-stack leak.
2015-07-17 20:36:56 -04:00
mrdudz
996c7b493e
moved all notes into regular documentation
2015-07-16 21:39:13 +02:00
mrdudz
e77060458a
fixed joypad bits
2015-07-16 20:15:05 +02:00
mrdudz
3119be2a1e
added some cbm-like gfx chars to draw lines and boxes
2015-07-16 17:33:00 +02:00
mrdudz
d229d51be5
make sure clocktick starts at zero
2015-07-16 16:54:40 +02:00
mrdudz
21ef6b8510
fixed screensize, timertick, revers mode
2015-07-16 16:00:32 +02:00
mrdudz
1414411bba
added waitvblank and fixed get_tv
2015-07-15 19:46:26 +02:00
mrdudz
c3d45e4c47
fixed issues found by gregg
2015-07-15 13:18:12 +02:00
mrdudz
ac27ed301a
_tickcount -> tickcount
2015-07-14 19:55:41 +02:00
mrdudz
83391ab67c
some more tweaking, added docs page
2015-07-14 17:22:47 +02:00
mrdudz
515a61a302
added imports for conio init to conio functions, so the constructor will get linked and called automatically
2015-07-13 12:10:09 +02:00
mrdudz
9e1d39a409
more cleanup and fixing
2015-07-12 16:40:52 +02:00
mrdudz
891cb97b2f
more cleanup, joystick works again
2015-07-12 14:27:24 +02:00
mrdudz
21999b081f
simple conio test works again
2015-07-12 10:32:55 +02:00
mrdudz
877fd532c2
Merge remote-tracking branch 'upstream/master' into pcenginetarget
2015-07-11 13:05:26 +02:00
Greg King
146daa1d0a
Made some string output functions reject an invalid NULL buffer pointer.
2015-07-09 14:46:28 -04:00
Greg King
219905c6bc
Fix two string output functions' handling of their buffer-size parameter.
...
That parameter's type is unsigned; but, the functions return an int. If the size is too big for a signed integer, then return an error code.
If the size is zero, then don't write anything into a buffer (the buffer pointer may be NULL). But, do format and count the arguments.
2015-07-09 10:43:45 -04:00
Greg King
08e18c93c5
Added explicit settings of calling conventions in pointer-to-function declarations in system and library headers.
2015-06-22 00:15:48 -04:00
Oliver Schmidt
fe023a1218
Merge pull request #151 from greg-king5/fastcall
...
Make __fastcall__ be the default calling convention.
2015-05-26 22:39:33 +02:00
Oliver Schmidt
0f1c3b0181
Fixed comment.
2015-04-27 09:39:50 +02:00
Oliver Schmidt
1748bb1ab6
Use well-known location BLTU2 for "memmove()".
2015-04-26 14:09:21 +02:00
Oliver Schmidt
3c1cd0d867
Added cmdline support to exec().
...
The starting point is the CALL2051:REM <cmdline> approach. It uses the BASIC input buffer at $200. ProDOS stores the name of the loaded program at $280 (which we want for argv[0]) leaving us with 128 char buffer. If we run the program via exec() we don't need the CALL2051 but only the REM token (which is just one char). So have a maximum cmdline length of 126 (plus a terminating zero).
There's no specification for ProDOS BIN file cmdline parameters so exec() just supports the CALL2051:REM <cmdline> approach. In contrast ProDOS SYS files allow for a 'startup filename'. A ProDOS filename is short than 126 chars so having exec() general cut the cmdline after 126 chars seems reasonable. If the SYS file we exec() allows for less we cut the cmdline further.
Our 'loader.system' SYS file however allows for an unusually 126 char long "startup filename" as it is targeted towards cc65 BIN porgrams with their 126 cmdline length.
2015-04-26 14:09:20 +02:00
Oliver Schmidt
ae4f9336b3
Behave more like BASIC.SYSTEM and allow for argv[0].
2015-04-19 21:59:05 +02:00
Oliver Schmidt
24e902059c
Allow up 127 chars of cmdline for programs started by the loader.
2015-04-19 21:17:46 +02:00
Stephan Mühlstrasser
7fb206e381
Macro-based implementation of screen layout configuration modules.
2015-03-23 19:02:45 +01:00
Stephan Mühlstrasser
8b10534429
Improved fix with suggestions by Greg King.
2015-03-15 00:40:42 +01:00
Stephan Mühlstrasser
4836cf9842
Fix bad tabbing
2015-03-14 00:06:00 +01:00
Stephan Mühlstrasser
72a9e331e3
Fixed uninitialized use of low byte of address "load".
2015-03-14 00:01:12 +01:00
Greg King
38231a5cc6
Made _afailed() and uncompress() be fastcall functions.
2015-03-13 07:35:47 -04:00
Greg King
66d79da3c2
Made cbm_load() be a fastcall function.
2015-03-13 05:46:40 -04:00
Greg King
a798b1d648
Made __fastcall__ be the default calling convention for non-variadic functions.
2015-03-10 05:53:52 -04:00
Greg King
9dbce378fe
Described how to change the boot loader's actions.
2015-03-08 10:06:00 -04:00
Greg King
2d50267bd8
Added a second OSI C1P program file format.
...
Unlike the first format, the new format is already loadable; it doesn't need to be converted.
2015-03-07 16:39:44 -05:00
Stephan Mühlstrasser
981ab10fac
Replaced magic numbers with symbolic constants.
2015-03-01 20:53:57 +01:00
Stephan Mühlstrasser
1d6aa84d9a
Optimization by replacing absolute with relative jump.
2015-02-28 20:29:08 +01:00
Stephan Mühlstrasser
4737ad93d5
Temporarily undo the 25 line change.
...
This is not yet consistent with the first visible character on
the screen.
2015-02-25 23:50:02 +01:00
Stephan Mühlstrasser
52865410d2
Fix wrong expression for top of C stack.
...
Thanks to Greg King for this fix.
2015-02-25 23:48:57 +01:00
Stephan Mühlstrasser
8deeb2c59e
Match screen dimensions as in BASIC.
...
Experiments show that under BASIC by default
25 rows by 24 columns are used. 24 columns is
also the width that is fully displayed on a real
C1P on the monitor. conio now matches that now.
2015-02-23 23:07:00 +01:00
Stephan Mühlstrasser
772a98d1ec
Merge branch 'c1p_kbhit' into c1p_scrsize
2015-02-23 19:17:54 +01:00
Stephan Mühlstrasser
83f16425c9
Loading A once before the loop is sufficient.
2015-02-23 19:17:27 +01:00
Stephan Mühlstrasser
cc2dc578fe
Merge branch 'c1p_kbhit' into c1p_scrsize
2015-02-23 19:11:50 +01:00
Stephan Mühlstrasser
73ae95bd1c
Clear bottom line when scrolling.
...
Fix provided by Jeff Tranter.
2015-02-23 19:06:22 +01:00
Stephan Mühlstrasser
c3b014560e
Consistent naming for screen dimension constants.
2015-02-22 19:55:19 +01:00
Stephan Mühlstrasser
a7dabcda47
Define the screen dimension defines in a more meaningful way.
2015-02-22 16:27:13 +01:00
Stephan Mühlstrasser
965aded1ba
Merge branch 'c1p_kbhit' into c1p
2015-02-22 11:45:02 +01:00
Stephan Mühlstrasser
7a975fa182
Mask control keys from first keyboard scan row.
2015-02-21 22:52:01 +01:00
Stephan Mühlstrasser
1b9aa7c6f3
Use character constants where appropriate.
2015-02-21 20:53:16 +01:00
Stephan Mühlstrasser
222668c016
Implemented a one-character buffer for kbhit() and cgetc().
...
If kbhit() detects that a key is pressed, it fetches and
buffers the character. If cgetc() detects a buffered character,
this one is returned instead of fetching one with the PROM
routine.
2015-02-21 20:24:58 +01:00
Stephan Mühlstrasser
b1969ac16a
kbhit() function and scrolling.
...
Patch provided by Jeff Tranter.
2015-02-19 22:19:21 +01:00
Oliver Schmidt
cbb6f82b99
Merge pull request #146 from smuehlst/c1p
...
Add target "osic1p" for Ohio Scientific Challenger 1P
2015-02-18 20:17:03 +01:00
Stephan Mühlstrasser
92e75e9df8
Incorporated another round of feedback for pull request.
...
Adjusted comment formatting in several assembler files.
Removed dummy kbhit() function, as it's better to get a linker
error than an implementation that does the wrong thing.
2015-02-18 18:38:42 +01:00
Oliver Schmidt
3ed3e98ec7
Moved interrupt enabling to the interrupt constructor.
2015-02-16 15:43:08 +01:00
Stephan Mühlstrasser
e178a33d29
Fix high byte of return value, optimized.
2015-02-13 19:53:02 +01:00
Stephan Mühlstrasser
88df129215
Add dummy kbhit(), remove redundant documentation for cgetc().
2015-02-12 22:54:21 +01:00
Stephan Mühlstrasser
3601c3fb9b
Include "extzp.inc" instead of using direct imports of symbols.
2015-02-12 22:12:51 +01:00
Stephan Mühlstrasser
5d2e748bd4
Don't use .byte in BSS segments, as value is lost anyway.
2015-02-12 21:44:00 +01:00
Stephan Mühlstrasser
94f83ea439
Replace zeropage variable with standard tmp variable.
2015-02-12 21:29:19 +01:00
Stephan Mühlstrasser
b1169cbb23
Remove unneeded commented code.
2015-02-12 21:12:24 +01:00
Stephan Mühlstrasser
679f5aa675
Use constants for screen width and height.
2015-02-12 20:54:47 +01:00
Stephan Mühlstrasser
5063e0ecca
Incorporated feedback for initial pull request.
2015-02-11 19:21:17 +01:00
Stephan Mühlstrasser
498fbb7ed7
Fix formatting, replace tabs with spaces.
2015-02-08 17:35:40 +01:00
Stephan Mühlstrasser
fc237faba7
Add missing newline
2015-02-08 17:12:54 +01:00
Stephan Mühlstrasser
4e03d7448c
Merge branch 'master' of https://github.com/cc65/cc65 into c1p
2015-02-08 15:58:42 +01:00
Stephan Mühlstrasser
7754c573d8
Jump to boot prompt after main program exits.
2015-02-05 23:21:59 +01:00
Stephan Mühlstrasser
072e5e71c2
Video RAM mapping table was off by two bytes.
...
Fix contributed by Jeff Tranter.
2015-02-05 23:01:19 +01:00
Stephan Mühlstrasser
14c7e9fd16
Rename c1p target to osic1p
2015-02-03 22:42:35 +01:00
Stephan Mühlstrasser
b1f764bdc9
Minor cleanup of unnecessary newlines.
2015-01-11 20:08:39 +01:00
Oliver Schmidt
6b3083053c
Merge pull request #143 from greg-king5/basic-stub
...
Support Atmos command line
2015-01-10 23:46:43 +01:00
Greg King
fccd2bf66a
Added more info to a comment.
2015-01-09 22:19:35 -05:00
Greg King
43342366ed
Added comments that say why the ZPSAVE1 and ZPSAVE2 segments must be together.
2015-01-08 17:07:28 -05:00
Greg King
22e06c41d1
Fixed a bug that had padded Atmos binaries with 25 bytes too many.
2015-01-08 03:51:20 -05:00
Greg King
d61feae7f8
Added a comment.
2015-01-07 10:51:48 -05:00
Stephan Mühlstrasser
aedefb81ec
Adapted to cc65 assembler coding conventions
...
Assembler statements are written in lowercase.
2015-01-05 21:28:39 +01:00
Stephan Mühlstrasser
91e21ae024
Merge branch 'master' of https://github.com/cc65/cc65 into c1p
2014-12-02 20:42:54 +01:00
Stephan Mühlstrasser
fd5dca08fb
Removed unused constants
...
They were left-overs from early attempts to implement character output.
2014-12-02 18:20:54 +01:00
Stephan Mühlstrasser
e9a90940b1
Dummy implementation for osmapperrno
...
Copied from atmos implementation
2014-11-30 21:05:36 +01:00
Stephan Mühlstrasser
b47a1d99ec
Added scrsize() function.
2014-11-30 16:01:43 +01:00
Stephan Mühlstrasser
945ad167df
Undo accidental rename of wrong scrsize.s file.
2014-11-30 16:00:55 +01:00
Stephan Mühlstrasser
fa770bada8
Added scrsize() function.
2014-11-30 15:58:59 +01:00
Stephan Mühlstrasser
3867be7166
Added cclear() and cclearxy() implementations.
2014-11-30 14:25:16 +01:00
mrdudz
1365afa845
more hacking
2014-11-30 11:20:57 +01:00
Stephan Mühlstrasser
9b9622d09a
Added chline and cvline implementation from CBM implementation.
2014-11-29 22:13:07 +01:00
Stephan Mühlstrasser
6dc8621fa5
Set cursor in top left corner in clrscr()
...
as documented in conio.h
2014-11-29 20:50:48 +01:00
Stephan Mühlstrasser
ac88639f4a
Implemented cursor functionality.
2014-11-29 20:07:30 +01:00
Stephan Mühlstrasser
7dac57f60d
Added gotox() and gotoy() implementations.
2014-11-29 15:52:42 +01:00
mrdudz
4275b82117
added compiler/assembler target, lib compiles
2014-11-29 15:35:20 +01:00
mrdudz
86e6abfcd9
added compiler/assembler target, lib compiles
2014-11-29 15:13:40 +01:00
mrdudz
faccc5a3d6
initial import, completely untested, does not compile yet
2014-11-29 14:18:48 +01:00
peterferrie
bbd419f365
assert parm count
2014-11-24 10:07:16 -08:00
Stephan Mühlstrasser
1e88032608
Copied wherex, wherey and ctype implementations from CBM
2014-11-23 15:56:38 +01:00
Stephan Mühlstrasser
0c62ddf123
Enhancements for cursor calculation
...
Fix handling of newlines.
Wrap around to top of screen when newline occurs
in last line.
Initialize screen width in crt0.s.
2014-11-23 15:32:48 +01:00
Stephan Mühlstrasser
12ca22c265
Remove unnecessary commented code.
2014-11-22 18:14:52 +01:00
Stephan Mühlstrasser
0a6afb59c0
Switch to assembler for cputc implementation.
2014-11-22 01:07:55 +01:00
peterferrie
0c204725bc
implement ProDOS seek
2014-11-21 16:04:11 -08:00
Stephan Mühlstrasser
5c8cd00dd5
Started cputc and related functions implementation.
2014-11-18 23:18:51 +01:00
Stephan Mühlstrasser
a20bba0f1e
Adapt to assembler coding conventions.
2014-11-16 21:57:59 +01:00
Stephan Mühlstrasser
14958949c2
Direct use of monitor function instead of subroutine call.
2014-11-16 21:13:18 +01:00
Greg King
09e50d433d
* Changed the way that Atmos programs are started.
...
- Put a BASIC-language stub at the beginning.
- Removed the Autostart flag.
Those changes make it easy to give command-line arguments to a program.
* Made the Atmos configure file accept a special symbol definition on ld65's command line. We can use "__RAMEND__" to increase the amount of RAM that's available to programs.
2014-11-09 06:32:11 -05:00
Stephan Mühlstrasser
4c46287928
Begin to implement C1P conio features.
2014-11-09 00:58:32 +01:00
Stephan Mühlstrasser
5d7a24241c
Implemented clrscr routine for C1P
2014-11-08 01:14:46 +01:00
Stephan Mühlstrasser
0b186407f1
Merge https://github.com/cc65/cc65 into c1p
2014-11-02 16:17:16 +01:00
Greg King
74c2415795
Changed literal zeroes of the style "#>0" into the style "#>$0000".
2014-09-10 19:15:07 -04:00
Oliver Schmidt
e702832e80
Merge pull request #130 from greg-king5/caps-lock
...
Disable the Atmos keyboard's CAPS LOCK for stdio too.
2014-09-09 12:55:30 +02:00
Greg King
970af0cdb2
Swapped the locations of a constructor and a destructor in a source file.
...
The constructor now is first.
Used a more expressive literal zero.
2014-09-04 17:37:41 -04:00
Greg King
c7969a78b0
Refined the comments in the target start-up files.
...
Fixed typo errors. Made the comments consistent across all those files.
2014-08-24 10:10:20 -04:00
Greg King
145a010e59
Moved the CAPS LOCK code out of the startup file, and into its own file.
2014-08-24 10:05:45 -04:00
Greg King
58b73a2842
Disable the Atmos keyboard's CAPS LOCK for both conio and stdio.
2014-08-21 11:04:23 -04:00
Greg King
8324221360
Improved some multiplication code.
2014-07-17 07:11:14 -04:00
Greg King
c6e7d835ef
Fixed a buffer overrun bug.
2014-07-17 07:05:10 -04:00
Greg King
0390c34e88
Changed multi-line C comments into another style.
...
The left side doesn't look unbalanced.
2014-06-30 16:51:07 -04:00
Oliver Schmidt
2c975d3642
Create static drivers directly from source files.
...
Up to now static drivers were created via co65 from dynamic drivers. However there was an issue with that approach:
The dynamic drivers are "o65 simple files" which obligates that they start with the 'code' segment. However dynamic drivers need to start with the module header - which is written to. For dynamic drivers this isn't more than a conceptual issue because they are always contain a 'data' segment and may therefore only be loaded into writable memory.
However when dynamic drivers are converted to static drivers using co65 then that issue becomes a real problem as then the 'code' segment may end up in non-writable memory - and thus writing to the module header fails.
Instead of changing the way dynamic drivers work I opted to rather make static driver creation totally independent from dynamic drivers. This allows to place the module header in the 'data' segment (see 'module.mac').
2014-06-04 23:50:18 +02:00
Oliver Schmidt
2bc4634860
Normalized style.
...
We don't use .ifndef .else .endif
2014-06-03 18:30:11 +02:00
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
a4fda71510
move atari5200 behind atari and atarixl in TARGETS list
2014-05-30 13:39:09 +02:00
Christian Groessler
fa7cdf0214
remove atari5200.mac
2014-05-30 13:38:29 +02:00
Christian Groessler
f54ef4efe4
provide CLK_TCK and CLOCKS_PER_SEC values for atari5200
2014-05-29 13:23:45 +02:00
Greg King
b8e65aca5a
Used longer error text.
...
Added more codes and messages.
2014-05-28 23:01:48 -04:00
Christian Groessler
4286e55453
fix build error
2014-05-29 01:50:41 +02:00
Christian Groessler
245a69a043
don't use scrcode for numbers
2014-05-29 00:18:22 +02:00
Christian Groessler
0bcb615d33
remove TABs
2014-05-28 23:39:31 +02:00
Christian Groessler
8c5aebef81
cleanups and add comments
2014-05-28 23:38:22 +02:00
Christian Groessler
98195a516e
check trigger button (TRIGx); correctly report joystick count depending
...
on 5200 console version
2014-05-28 00:35:49 +02:00
Christian Groessler
ef1e96aff0
small optimization
2014-05-27 01:50:22 +02:00
Christian Groessler
b6f712ef58
not a dummy implementation anymore...
2014-05-27 01:47:37 +02:00
Greg King
3d6f54b7a6
Updated the CBM error tables.
...
* Added more mappings between DOS and C codes.
* Changed generic error messages into specific ones.
2014-05-26 09:03:43 -04:00
Greg King
2cc26e6e23
More conforming to the cc65 project's apparent writing style.
2014-05-23 16:52:02 -04:00
Greg King
a92f51fea5
Conformed to the cc65 project's coding style.
2014-05-23 00:35:19 -04:00
Greg King
0ec8c8cea7
Added a quoted-token parsing function.
2014-05-20 16:33:16 -04:00
Christian Groessler
0f2f19ef5b
some CONIO fixes
2014-05-16 02:10:19 +02:00
Christian Groessler
8cb68071cd
clrscr for Atari 5200 default conio screen
2014-05-12 03:05:21 +02:00
Christian Groessler
82544b8678
add joystick driver -- trigger buttons are not queried yet
2014-05-12 03:03:44 +02:00
Christian Groessler
1532ad6792
add dummy irq.s
2014-05-12 03:02:17 +02:00
Greg King
f82a43b98d
Fixed the comments to say where the actual Left-Hand Side and Right-Hand Side are put.
...
A description of positions [left, right] is appropriate more for C code than for Assembly code. (A description of timing [first argument, second argument] is more appropriate for the way that Assembly code is written.)
2014-05-11 10:43:06 -04:00
Greg King
228b9d1718
Added a fast subroutine to multiply two signed 8-bit numbers.
2014-05-11 01:08:27 -04:00
Oliver Schmidt
63b5f75a7f
Merge pull request #114 from greg-king5/phantom
...
Added the phantom-key exorcism code to the other C128 mouse drivers.
2014-05-09 19:30:51 +02:00
Greg King
a27e7562fd
Added comments that explain why some instructions are implied.
2014-05-05 13:55:14 -04:00
Greg King
7d512ca238
Back-migrated some phantom-key rejection optimizations.
2014-05-05 06:28:19 -04:00
Greg King
667f8229c0
Migrated the phantom-key exorcism code to the other C128 mouse drivers.
2014-05-05 05:30:31 -04:00
Greg King
047d9abc68
Added the long-missing driver-flags byte to the potentiometer (mouse) drivers.
2014-05-05 04:16:04 -04: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
Oliver Schmidt
2a3fbc6e36
Merge pull request #109 from groessler/something_to_pull2
...
Proposal: workaround for "phantom" key presses in the C128 "joystick" mouse driver...
2014-04-28 22:18:11 +02:00
Christian Groessler
6307815ada
Correctly map out ROM when needed in the "phantom keys" workaround.
2014-04-26 11:58:13 +02:00
Christian Groessler
f290c1aa28
remove build warning
2014-04-25 13:21:54 +02:00
Christian Groessler
92b32d7d0e
atari5200 update: simple conio "hello world" works now
2014-04-25 03:02:44 +02:00
Christian Groessler
ec417c0dc5
Merge remote-tracking branch 'upstream/master' into a5200
2014-04-25 02:07:44 +02:00
Christian Groessler
54be6de9bc
Workaround for "phantom" key presses in the C128 "1351" mouse driver.
2014-04-25 00:22:23 +02:00
Christian Groessler
401e18d982
Put mouse cursor shape definition into .rodata.
2014-04-24 02:04:08 +02:00
Christian Groessler
4406307c2f
Make the hooking and unhooking of the interrupt interrupt safe.
2014-04-24 00:28:33 +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
608dbc2cec
Workaround for "phantom" key presses in the C128 "joystick" mouse driver.
2014-04-22 15:49:48 +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
Oliver Schmidt
a0a4158bba
Merge pull request #103 from greg-king5/typo
...
Fixed typo (Ilegal).
2014-04-04 09:56:04 +03:00
Greg King
449fceebdd
Fixed typo (Ilegal).
2014-04-03 17:28:36 -04:00
Greg King
42595fbf13
Added command-line argument parsing to the CBM510 and CBM610 targets.
2014-04-03 08:23:28 -04:00
Oliver Schmidt
986c2248e2
Added cc65_umul8x8r16() based on umul8x8r16.
2014-03-27 21:22:02 +01:00
Christian Groessler
f266612697
Merge remote-tracking branch 'upstream/master' into a5200
2014-03-20 00:24:11 +01:00
Karri Kaksonen
100ecb0a45
Use LOWCODE segment
2014-03-19 11:32:44 +02:00
Greg King
3ef184bdd6
Corrected the default upper limits of some mouse drivers' bounding box.
...
The upper limits need to be one less than the screen sizes because the minimum co-ordinate is zero instead of one.
2014-03-18 05:17:44 -04:00
Oliver Schmidt
1d6000213c
Removed references to $TRAVIS from Makefiles.
...
After all it seems much cleaner to explicitly control the behaviour from the .travis.yml file than to behave differently "under the hood" when detecting a Travis CI build.
2014-03-16 21:32:18 +01:00
Oliver Schmidt
4ea84c4843
Merge pull request #90 from greg-king5/c128-sprite
...
Added code that disables C128 BASIC's sprite-motion interrupt-handler.
2014-03-16 20:55:09 +01:00
Greg King
e335d2564d
Added code that disables C128 BASIC's sprite-motion interrupt-handler.
...
That lets the mouse drivers control a sprite directly through the VIC's registers.
2014-03-15 16:41:03 -04:00
Oliver Schmidt
9da0e8e600
Moved LOADER.SYSTEM description.
...
The LOADER.SYSTEM description is now available in the cc65 Wiki (https://github.com/cc65/cc65/wiki/LOADER.SYSTEM ).
2014-03-15 18:09:55 +01:00
Christian Groessler
30b418c734
add gotox, gotoy, and gotoxy
2014-03-13 02:38:35 +01:00
Christian Groessler
84c655a907
use __RESERVED_MEMORY__ to reserve memory for the default 20x24 text screen
2014-03-13 02:36:10 +01:00
Christian Groessler
889783bedb
add some conio functions
2014-03-11 01:17:59 +01:00
Oliver Schmidt
efa50b0258
Several minor adjustments.
2014-03-09 13:56:32 +01:00
Oliver Schmidt
8236b0dd74
Upload zip file.
2014-03-09 01:20:39 +01:00
Oliver Schmidt
80ca7eb4e4
Create zip file.
2014-03-09 00:20:17 +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
1c73fa0a00
Moved .PHONY below definitions it refers to.
...
I must admit that I don't understand why but obviously it is necessary to place .PHONY below the definition of variables it refers to - although those variables are recursively expanded ones! Not doing so made libsrc/Makefile build only three target libraries.
2014-03-06 23:42:44 +01:00
Oliver Schmidt
30125afcc1
Moved from VS2013 to MinGW(-w64).
2014-03-06 22:32:24 +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
361da29e51
add get_tv()
2014-03-04 16:02:24 +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
c8f7f2f161
first changes for atari5200 target
2014-03-01 17:20:09 +01:00
Christian Groessler
69f81f6d67
make 'w2cas' a targetutil
2014-03-01 13:11:52 +01:00