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
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
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
polluks2
ed9f9ccbab
Fix #1536
2021-06-07 23:12:50 +02: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
Greg King
c0f29993e0
Fixed the descriptions of the Creativision's functions.
...
Fixed bios_playsound()'s position in the alphabetical list of functions.
2021-05-29 08:53:13 -04:00
Greg King
6bedade593
Fixed the creativision function prototypes.
...
Added const to a pointer parameter.
2021-05-29 08:37:38 -04:00
mrdudz
010eea12a2
move test for issue #1211 into misc
2021-05-25 13:38:06 +02:00
Polluks
30830e1348
Added missing Creativision functions
2021-05-25 10:42:21 +02:00
mrdudz
65c640d2cf
added missing atari5200 target
2021-05-24 15:15:07 +02:00
mrdudz
022935320c
test for issue #897
2021-05-24 14:30:10 +02:00
mrdudz
ae3d3a4b5d
make readme a bit more clear (hopefully)
2021-05-24 13:53:44 +02:00
mrdudz
adda9438d2
testcase for issue #1357
2021-05-24 13:53:14 +02:00
mrdudz
0db23a8951
testcase for issue #263
2021-05-23 18:55:06 +02:00
mrdudz
b08dc28cc1
another testcase related to issue #1462
2021-05-22 22:34:52 +02:00
mrdudz
e13f57e86c
added another testcase for issue #1462
2021-05-21 16:09:10 +02:00
Greg King
663268dca9
Syncronize the Supervision crt0.s with its ld65 config files.
...
.segment "VECTOR" -> "VECTORS". Fixes #1506 .
2021-05-21 03:32:43 -04:00
Christian Groessler
681c9594cc
libsrc/atari5200/crt0.s: fix formatting
2021-05-21 01:45:55 +02:00
Olli Savia
0ae1aad3d3
Fix typo: VIAx_CR -> VIAx_ACR
2021-05-19 20:26:11 +02:00
mrdudz
6d560f4236
change prototype for GraphicsString() to void __fastcall__ GraphicsString(const void *myGfxString);
2021-05-18 15:16:14 +02:00
Greg King
d14148ab4f
Restricted commit b9a3c78888
to classic-style Assembly macros.
...
.include will work at expansion-time for .define macros.
2021-05-17 19:48:47 -04:00
mrdudz
4a57656f69
add test for issue #1504
2021-05-17 14:40:09 +02:00
mrdudz
d736032675
added a missing comment
2021-05-17 14:25:33 +02:00
mrdudz
c53059468e
fix documentation for the driver _init calls
2021-05-17 14:25:18 +02:00
mrdudz
d2da30a7e2
give the "samples" target something to do to supress the "nothing to be done for 'samples'" message
2021-05-16 23:38:17 +02:00
mrdudz
5fc9d3f048
change driver _install calls from taking "void*" to "const void*"
2021-05-16 22:57:28 +02:00
mrdudz
ce487651b0
as suggested by Oliver:
...
- only output messages if MAKELEVEL is 0
- indent nested ifeq
- use if (,) syntax
2021-05-16 22:24:35 +02:00
acqn
1450f146a5
Fixed '[]', '()' '.' and '->' operators following a postfix increment/decrement.
2021-05-16 20:43:49 +02:00