polluks2
bd23ad4d6d
Merge branch 'cc65:master' into master
2021-08-30 13:56:54 +02:00
Greg King
52e4387929
Added a program that tests the Commodore-specific directory functions.
2021-08-12 13:21:24 -04:00
Spiro Trikaliotis
62da869e49
doc: psg_silence: Remove empty notes
...
The notes section of psg_silence (Creativision funcref) contained an
empty Notes section, consisting of an empty <itemize> only.
Newer sgmltools fail on this, as they insist on having an <item>
element, or they fail compilation:
[ 225s] Processing file ../doc/funcref.sgml
[ 225s] onsgmls:/tmp/linuxdoc-tools.NfxbjODQbW/sgmltmp.funcref.01.precmdout:5884:9:E:end tag for "ITEMIZE" which is not finished
Fixed this by removing the (empty) Notes section altogether.
2021-06-21 22:10:31 +02:00
Wayne Parham
5f4605c4fc
Remove trailing blank lines from read.s, write.s and tapeio.s
2021-06-16 17:28:19 -05:00
Wayne Parham
d6ef8326f9
Remove trailing blank line from libsrc/sym1/display.s
2021-06-16 17:24:18 -05:00
Wayne Parham
85d345088d
Remove trailing two blank lines from libsrc/sym1/crt0.s
2021-06-16 17:21:57 -05:00
Wayne Parham
5d90087e66
Add space after every function or statement, before parenthesis
2021-06-16 17:14:44 -05:00
Wayne Parham
82bdc77e41
puts() whitespace style change
2021-06-16 16:47:38 -05:00
Wayne Parham
bed61df837
Removed unnecessary blank line from samples/Makefile
2021-06-16 16:28:17 -05:00
Wayne Parham
a93542e80c
Added __fastcall__ to comments
2021-06-16 16:24:26 -05:00
Wayne Parham
f1f700799b
All samples use 'int main' and 'return int'
2021-06-16 07:35:18 -05:00
Wayne Parham
f98e5f4feb
Stylistic changes
2021-06-15 17:14:27 -05:00
Wayne Parham
11d81b1f43
Stylistic changes
2021-06-15 16:39:28 -05:00
Greg King
fcda94f258
Made a slight improvement in the ld65 expression evaluator.
2021-06-13 20:36:05 -04:00
Wayne Parham
4db50e8e93
Documentation update: Mention where to find sym1 sample programs
2021-06-13 11:29:30 -05:00
Wayne Parham
faf6266cde
typo in comment
2021-06-12 06:28:53 -05:00
Wayne Parham
c9bb1483ac
Add BEL->beep functionality
2021-06-12 06:17:03 -05:00
Wayne Parham
9e6c1d1303
tapeio and symNotepad updates
2021-06-11 19:55:13 -05:00
Greg King
14d05c61b6
Made Creativision's joystick driver more efficient.
2021-06-11 07:43:25 -04:00
Greg King
af3d4581d3
Moved Creativision's playsound() into a separate file.
...
It won't waste space in a cartridge if it isn't used.
2021-06-11 07:43:25 -04:00
Greg King
f636d4e634
Fixed the Creativision library's bios_playsound().
...
It was disabling interrupts permanently.
2021-06-11 07:43:24 -04:00
Wayne Parham
24f5bac899
Added BEL -> beep() functionality
2021-06-10 16:07:39 -05:00
acqn
31128d4809
Added test cases for result types of certain operations.
2021-06-10 21:54:32 +02:00
acqn
25a35d6b59
Fixed result type of certain operations, which was broken with the bit-field fix.
2021-06-10 21:54:32 +02:00
Christian Groessler
f3db74395d
fix last change and use stdbool.h
2021-06-10 20:08:58 +02:00
Christian Groessler
7f1f0249f3
enumdevdir.c: allocate path name buffers from the heap.
2021-06-10 20:08:58 +02:00
Christian Groessler
c90c3c9133
stdio.inc,stdio.h: set CBM PATH_MAX/FILENAME_MAX value to 255
...
Some parts of the runtime library cannot handle larger paths.
2021-06-10 20:08:58 +02:00
Christian Groessler
ae9101961e
stdio.inc,stdio.h: increase CBM PATH_MAX/FILENAME_MAX value to 256+1
2021-06-10 20:08:58 +02:00
Christian Groessler
9a523abbfb
limits.h: provide PATH_MAX
...
- stdio.h: define FILENAME_MAX to PATH_MAX
- stdio.h, stdio.inc: increase FILENAME_MAX/PATH_MAX for Atari
(For DOSes with subdirectory support.)
2021-06-10 20:08:58 +02:00
Wayne Parham
7d6541274d
Changes to I/O access
2021-06-09 10:23:42 -05:00
acqn
d69e81cd66
Moved and improved test cases for Issue #1462 .
...
Fixed an old test case for unsigned enum bit-fields that are supposed to be int-promoted.
2021-06-09 08:03:12 +02:00
acqn
5adb29ce31
Made "bit-field-ness" a type property instead of a SymbolEntry or ExprDesc property.
...
Fixed integer promotion and result type in certain operations.
Fixed bit-fields 'op=' and postfix inc/dec operators.
2021-06-09 08:03:12 +02:00
acqn
1d7bf7355c
Better function naming in declare.c.
...
Scalar initialization routines need only 'const Type*' as parameters.
2021-06-09 08:03:12 +02:00
acqn
004c60de39
Optional flags for the codegen to skip restoring the expression results into the primary registers.
2021-06-09 08:03:12 +02:00
acqn
dcacba472a
Moved ArithmeticConvert() from cc65/expr.c to cc65/datatype.c.
...
Reorganized a few functions in cc65/datatype.c.
Added SignedType() and UnsignedType() for future usage.
Made LimitExprValue() external so that it can be used more often.
2021-06-09 08:03:12 +02:00
Filip Golewski
09862e7ce9
Update src/msbuild.cmd script to optionally include Visual Studio 2019 Community build tools
2021-06-08 21:16:20 +02:00
Wayne Parham
2a25921515
Sym-1 documentation updates
2021-06-07 20:00:18 -05:00
Wayne Parham
2635655e8c
sym1.cfg cosmetic changes
2021-06-07 19:07:36 -05:00
Wayne Parham
89fb731e2e
samples/helloworld.c
2021-06-07 19:01:06 -05:00
polluks2
ed9f9ccbab
Fix #1536
2021-06-07 23:12:50 +02:00
Wayne Parham
886e9e83b2
Removed stdin->stdout echo from read.s
2021-06-07 12:33:29 -05:00
Wayne Parham
6cf4bd99bb
Added Makefile for targettest/sym1
2021-06-07 11:50:47 -05:00
Wayne Parham
79757ee280
Removed 'return' from samples (with void main)
2021-06-07 01:04:55 -05:00
Wayne Parham
732a5fb9a7
Remove bin and hex references from samples/Makefile
2021-06-07 00:56:50 -05:00
Wayne Parham
5eafd8115f
Cleanup whitespace in Makefile
2021-06-07 00:53:15 -05:00
Wayne Parham
975e43892f
Samples cleanup
2021-06-07 00:48:02 -05:00
Wayne Parham
a3fce656b7
Samples updates
2021-06-07 00:42:13 -05:00
Wayne Parham
88ee45e9ef
tapeio.s updates
2021-06-07 00:35:20 -05:00
Wayne Parham
dc9333a3bb
tapeio.s updates
2021-06-07 00:18:26 -05:00
Wayne Parham
c961782192
Removed libref.s
2021-06-07 00:07:09 -05:00