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
Christian Groessler
de519b969a
Merge remote-tracking branch 'dmsc/xex-c' into upstream-master
2019-02-23 01:14:54 +01:00
Daniel Serpell
824e30934e
Change XEX configuration file names to better reflect original names.
...
Also, updates documentation with the new files.
2019-02-21 19:00:17 -03:00
Daniel Serpell
0e33a653d7
Add sample linker configurations for Atari binary output in C.
2019-02-21 19:00:17 -03:00
Daniel Serpell
258ba05660
Separate header and trailers of Atari system_check chunk.
...
This allows to omit the headers and trailers if needed.
2019-02-21 19:00:17 -03:00
Daniel Serpell
61463e1a70
Don't write INITAD if the memory area is empty.
2019-02-21 19:00:17 -03:00
Daniel Serpell
b03ae76b54
Add support for INITAD to the Atari binary format.
2019-02-21 19:00:03 -03:00
Christian Groessler
b6f22d332b
un-remove TABs in doc/using-make.sgml
2019-02-21 13:45:51 +01:00
Bill Kendrick
417ef278a3
Move Atari-specific PIA reg vals to atari.h
...
PIA is also used in the Commodore PET, and for different
purposes (see http://www.6502.org/users/andre/petindex/progmod.html#pia1 ),
so extracted Atari-specific register #defines and placed them in atari.h.
2019-02-17 23:23:30 +01:00
Christian Groessler
7445550831
remote TABs in doc/ and test/
2019-02-12 22:50:49 +01:00
Oliver Schmidt
b9ea77b185
Merge pull request #834 from jedeoric/master
...
Update telestrat target doc, add tgi_clear support for telestrat target, stratsed & telemon 2.4 vars added
2019-02-12 17:51:24 +01:00
Oliver Schmidt
10a31d006b
Add translation from PETSCII to screen codes.
2019-02-12 17:47:17 +01:00
Stefan
08ec9fc392
Fixed 65C02 timing again.
2019-02-12 11:15:47 -05:00