Christian Groessler
d7eecb57f8
atari5200: get rid of conio_colors table
...
use system color variables instead; improve testcode/lib/atari5200/hello.c
test program
2019-04-12 12:49:38 +02:00
Christian Groessler
dfb7c0f24d
atari5200: fix COLOR defines' names
...
COLOR_RED -> COLOR_LIGHTRED and COLOR_GREEN -> COLOR_LIGHTGREEN
2019-04-12 12:49:38 +02:00
Christian Groessler
be6bba66a9
atari5200: conio now uses just four colors altogether
...
See discussion in PR #870 .
2019-04-12 12:49:38 +02:00
Christian Groessler
79b9a8d2df
atari5200: add screensize function
2019-04-12 12:49:38 +02:00
Christian Groessler
db01036e2e
atari5200: add alternative conio screen (20x12 resolution)
2019-04-12 12:49:38 +02:00
Christian Groessler
ec5e38617a
atari5200: implement bgcolor() and textcolor()
...
Includes some other small fixes/cleanups.
2019-04-12 12:49:38 +02:00
Christian Groessler
edd596b2a4
atari: split color.s into bordercolor.s and bgcolor.s
2019-04-12 12:49:38 +02:00
Oliver Schmidt
0576fe51e7
Minor clarification.
2019-04-04 17:13:09 +02:00
Oliver Schmidt
5daed49e97
Fixed typo.
2019-04-04 16:38:40 +02:00
Oliver Schmidt
fc6a63a15e
Avoid unintended file "shadowing".
...
3d8c3a4948
caused an unintended "shadowing" of files in /libsrc/runtime by files in /libsrc/common. Therefore the files in question are renamed (again) in /libsrc/common to make the files in /libsrc/runtime "visible" again.
2019-04-04 09:16:59 +02:00
IrgendwerA8
dcbe03f23b
Adjusted to the current multiline-comment style.
2019-04-02 16:34:22 +02:00
IrgendwerA8
1530020a1f
Fix for multiplication optimization issue #367
2019-04-02 16:34:22 +02:00
Steven Hugg
ae261e91f2
Code cleanup per code review
2019-03-31 22:33:22 -04:00
Steven Hugg
9faaa0689b
cleaned up code per review
2019-03-31 22:33:22 -04:00
Steven Hugg
a71f764c33
fixed optimization bug where array index is 16-bit, e.g. arr16[i & 0x7f7f]
2019-03-31 22:33:22 -04:00
Steven Hugg
dca99d59e5
rearranged order of new optimizations to better handle -Oi flag
2019-03-31 22:33:22 -04:00
Steven Hugg
5d274e4bc5
added optimization for indexed 16-bit array load of form (array[i & 0x7f])
2019-03-31 22:33:22 -04:00
Steven Hugg
ffc118cd94
added optimization for indexed pointer load of a constant, e.g.: y = ((unsigned char*)0x100)[i]
2019-03-31 22:33:22 -04:00
Olli Savia
f95481fabf
Fixed gcc compiler warning ( #867 )
...
* Changed spelling FALLTHRU -> FALLTHROUGH
2019-03-30 16:09:16 -04:00
greg-king5
60e40c854c
Removed a "cc65_" prefix.
...
This change is needed because of commit 3d8c3a4948
.
2019-03-30 11:06:09 -04:00
IrgendwerA8
df80d071e8
Added space after function name.
2019-03-29 22:53:04 +01:00
IrgendwerA8
3d8c3a4948
Code review adaptations, removed "cc65_" prefix from functions
2019-03-29 22:53:04 +01:00
IrgendwerA8
435f417c64
Moved documentation to funcref.
2019-03-29 22:53:04 +01:00
IrgendwerA8
db8bd84a82
Changes due to code review.
2019-03-29 22:53:04 +01:00
IrgendwerA8
399250a105
Optimized mul20 & mul40 and extracted to new library.
2019-03-29 22:53:04 +01:00
greg-king5
fbf302e6cd
Merge pull request #863 from Compyx/master
...
Removed trailing spaces from CBM-related asm files.
2019-03-24 21:36:41 -04:00
Bas Wassink
9e0ab14cfe
Restore src/cc65/locals.c:278 to its orignal state
2019-03-24 23:05:11 +01:00
Bas Wassink
41e449b306
Forgot a cast, sorry
2019-03-24 21:41:00 +01:00
Bas Wassink
56c96e8ab0
Revert accidentally committed changes for a future PR
2019-03-24 21:15:34 +01:00
Bas Wassink
96d0b00a76
Merge https://github.com/cc65/cc65
...
Pull to fix extra changes in PR #863
2019-03-24 20:49:53 +01:00
Greg King
2cd4b5109a
Fixed LinuxDoc Tools issues in some verbatim blocks in the Atari document.
2019-03-24 14:39:04 -04:00
Daniel Serpell
f94a125f30
Adds address after JVB instruction in the display list example.
2019-03-23 18:38:26 +01:00
Bas Wassink
0614078198
Fix 32/64-bit int/pointer casts
2019-03-23 01:14:04 +01:00
Bas Wassink
2eac69a943
Remove trailings spaces from CBM-related asm files
2019-03-22 22:54:05 +01:00
IrgendwerA8
5c8854fff6
Changed enum for FP-register index.
2019-03-16 20:37:42 +01:00
IrgendwerA8
bcbcbbd9c0
AtariOS: Fix for FPIDX enum
2019-03-13 08:19:04 +01:00
Greg King
2617e9a3c0
Added a C header that translates from the source file's encoding to PetSCII.
...
It can be used to undo what "cbm_screen_charmap.h" does. Together, those headers let you mix screen-code and PetSCII string and character literals in a C source file's Assembly output.
2019-03-11 09:00:49 -04:00
Christian Groessler
fc7e79d2cc
Merge remote-tracking branch 'irgendwer/AtariOS_Structure' into master
2019-03-11 12:23:09 +01:00
IrgendwerA8
203f4c80d4
Code review changes and improved formatting.
2019-03-09 21:40:57 +01:00
IrgendwerA8
1359ad793d
Atari OS: Reestablished DCB structure, fixed union span and timer2.
2019-03-08 11:48:37 +01:00
Greg King
2362db22f7
Renamed a C header.
...
All of Commodore's 8-bit computer models use the same screen-codes.
2019-03-05 21:20:05 -05:00
Greg King
7e298e347d
Fixed the CBM screen-code C header.
...
Changed the number literals from Assembly format to C format. Swapped the (upper-/lower-case) mappings of letters because the header converts from ASCII, not PetSCII.
2019-03-05 21:20:05 -05:00
Christian Groessler
3627452249
Merge pull request #852 from IrgendwerA8/AtariOS_Structure
...
Access Atari OS variables by structure. seems good. Thanks!
2019-03-05 22:21:15 +01:00
IrgendwerA8
3d9ac21b80
Added missing pointer star for Basic structure.
2019-03-05 00:26:14 +01:00
IrgendwerA8
e1a4910580
Code review changes and build fix.
2019-03-04 23:32:56 +01:00
Greg King
13fa31a3bc
Refactorred a CBM screen-code macro, so that we can use it as an operand.
...
For example: lda #scrbyte 'B'
2019-03-04 10:23:47 -05:00
IrgendwerA8
8ead5f2f5a
Access Atari OS variables by structure.
2019-03-03 22:50:57 +01:00
IrgendwerA8
cc6559c3f6
Minor math optimizations
2019-02-28 19:48:29 +01:00
Oliver Schmidt
0ea78be056
Merge pull request #849 from polluks/patch-4
...
Update cbm510.sgml
2019-02-28 08:35:35 +01:00
Stefan
01489f9ffc
Update cbm510.sgml
...
There is just one CIA but it's not called "CIA1"...
2019-02-26 18:38:05 +01:00