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
Wayne Parham
0bbff54378
return val updates
2021-06-07 00:03:44 -05:00
Wayne Parham
33af3d7997
sym1.h updates
2021-06-06 23:53:53 -05:00
Wayne Parham
9d509735a8
Makefile changes
2021-06-06 21:56:23 -05:00
Wayne Parham
64afb50d5a
Makefile changes
2021-06-06 21:45:58 -05:00
Wayne Parham
6c4c959141
Sym-1 lib changes
2021-06-06 21:28:03 -05:00
Wayne Parham
e687f2f048
Clarified 'Limited memory applications' section
2021-06-06 17:55:58 -05:00
Wayne Parham
7d5fc7eb43
Changed kb references to KB
2021-06-06 17:51:24 -05:00
Wayne Parham
69e2313a63
First round of requested code changes
2021-06-06 23:20:54 +01:00
Greg King
1c16e46f23
Improved ld65's error messages about ca65's .BANK() function.
...
* Split a message into two more specific messages.
2021-06-05 11:31:28 -04:00
Greg King
39ef63cbbc
Don't check for circular references of imports that don't have matching exports.
...
This fix will avoid referring to a struct member through a null pointer.
2021-06-04 13:35:26 -04:00
bbbradsmith
d5d9183ccf
conform to prevailing if bracket style
2021-06-04 07:09:58 -04:00
bbbradsmith
6ebe551919
return is sufficient, TooComplex flag is unnecessary to resolve this crash case
...
suggested by greg-king5 in #1409
2021-06-04 07:09:58 -04:00
bbbradsmith
3584c4c87f
fix crash when a NULL ExprNode is checked for circular references
2021-06-04 07:09:58 -04:00
acqn
4d5fe38540
Fixed OptStackOps when the stuff pushed on stack top is accessed before the op.
2021-06-03 12:03:53 +02:00
acqn
79be6dec16
More quick hack for CE_GenRegInfo.
2021-06-03 12:03:53 +02:00
acqn
0bfa13722b
More funcinfo on register usage fixes.
2021-06-03 12:03:53 +02:00
IrgendwerA8
fe003eedd4
Fix Atari keyboard code for cursor up key
2021-05-31 11:19:24 +02:00
Greg King
0d3c827d80
Made the C preprocessor #if nesting stack have 256 levels.
...
Closes #1523 .
2021-05-30 03:52:32 -04:00
Greg King
ee5014c595
Simplified the Supervision "hello world" sample program.
2021-05-29 09:04:47 -04:00