Oliver Schmidt
1c73fa0a00
Moved .PHONY below definitions it refers to.
...
I must admit that I don't understand why but obviously it is necessary to place .PHONY below the definition of variables it refers to - although those variables are recursively expanded ones! Not doing so made libsrc/Makefile build only three target libraries.
2014-03-06 23:42:44 +01:00
Oliver Schmidt
30125afcc1
Moved from VS2013 to MinGW(-w64).
2014-03-06 22:32:24 +01:00
Oliver Schmidt
3f0af9b241
Have src/Makefile and libsrc/Make use disjoint work directories.
...
Building the clean target in src or libsrc should only delete stuff created by the make in those directories. Having both separated allows the Travis CI build to replace the native binaries with cross built binaries while keeping everything else.
2014-03-05 23:24:35 +01:00
Oliver Schmidt
9e409a67d2
Removed by now obsolete pragmas.
...
The warnings in question are instead suppressed by command line options.
2014-03-05 22:43:01 +01:00
Oliver Schmidt
ee9c42bbf5
Support both MinGW and MinGW-w64.
2014-03-05 22:28:38 +01:00
Oliver Schmidt
0f6564cb4e
First attempt of MinGW cross build.
2014-03-05 13:38:27 +01:00
Oliver Schmidt
4f317d70c8
Removed -std=c89.
...
Using `struct stat` and `%m` surely doesn't qualify for ISO C90.
2014-03-05 13:03:33 +01:00
Oliver Schmidt
15508cd36a
Okay, binutils-mingw-w64-i686 seems to have to be listed explicitly.
2014-03-05 12:39:37 +01:00
Oliver Schmidt
bbc7f48590
One more...
2014-03-05 12:35:20 +01:00
Oliver Schmidt
5b640abf9d
Moving on...
2014-03-05 12:33:19 +01:00
Oliver Schmidt
3852218015
Check what we have.
2014-03-05 12:28:57 +01:00
Oliver Schmidt
6c49fce59e
Fixed typo.
2014-03-05 12:21:43 +01:00
Oliver Schmidt
3bf14a6294
The last one worked - why? What about this...
2014-03-05 12:19:59 +01:00
Oliver Schmidt
07f73cf092
Just playing to maybe understand more...
2014-03-05 12:14:09 +01:00
Oliver Schmidt
6ab56eaae8
Maybe better when avoiding transition packages?
2014-03-05 12:10:38 +01:00
Oliver Schmidt
e7b437f151
Check out install of MinGW cross devel packages.
2014-03-04 22:17:21 +01:00
Oliver Schmidt
44ccb27549
Changed Makefile.inc handling.
...
It seems more appropriate to trigger the inclusion of Makefile.inc via $TARGET (instead of $SRCDIR). This is btw. more consistent with extzp.s inclusion which is triggered via $TARGET too.
2014-03-04 21:46:25 +01:00
Oliver Schmidt
bbbee1bac5
Merge pull request #88 from groessler/something_to_pull
...
rename libsrc/atari/tvtype.s to libsrc/atari/get_tv.s
2014-03-04 16:34:34 +01:00
Christian Groessler
bf8eb8c22e
rename libsrc/atari/tvtype.s to libsrc/atari/get_tv.s
2014-03-04 15:44:10 +01:00
Oliver Schmidt
66f1a80f4e
Moved workaround for MinGW's missing %m support to a central place.
2014-03-04 01:20:38 +01:00
Oliver Schmidt
4185caf855
Normalized code.
2014-03-04 01:11:19 +01:00
Oliver Schmidt
3e156bdd67
Removed unused header.
2014-03-03 22:52:39 +01:00
Oliver Schmidt
b68507d8a5
Adjusted spawn files to recent change II.
2014-03-03 22:38:41 +01:00
Oliver Schmidt
574bda3e4e
Adjusted spawn files to recent change.
2014-03-03 22:26:08 +01:00
Oliver Schmidt
50c4fd1c4c
Improve MinGW support.
...
- Code specific to Windows was #ifdef'ed with _MSC_VER so it wasn't included with MinGW. So _MSC_VER is replaced with _WIN32.
- MinGW doesn't support _get_pgmptr() so it is necessary to directly call the Win32 function GetModuleFileName(). This implies including windows.h which in turn causes a name clash with the Win32 function SearchPath(). So the cc65 type SearchPath is renamed to SearchPaths.
2014-03-03 22:12:14 +01:00
Oliver Schmidt
fcc95f4c1c
There seems to be no desire for a doc install.
2014-03-03 21:16:30 +01:00
Oliver Schmidt
3f7cd3387f
Optimize for size instead for speed.
2014-03-03 21:08:35 +01:00
Oliver Schmidt
6fe2ce7269
Merge pull request #85 from groessler/cassette
...
Atari: add support to create cassette boot files
2014-03-03 20:19:32 +01:00
Christian Groessler
7a9fa9d4cd
rename W2CAS.COM to w2cas.com (lowercase)
2014-03-03 18:12:11 +01:00
Christian Groessler
69f81f6d67
make 'w2cas' a targetutil
2014-03-01 13:11:52 +01:00
Christian Groessler
dec2376195
small wording change
2014-03-01 01:48:45 +01:00
Oliver Schmidt
9c95306a69
Fixed .info file generation (hopfully).
2014-02-28 21:45:04 +01:00
Oliver Schmidt
18ecd68977
Made 'doc' goal explicit part of test build.
2014-02-28 21:13:01 +01:00
Oliver Schmidt
085f911dfb
Merge pull request #87 from groessler/something_to_pull2
...
fix for info file generation
2014-02-28 12:12:25 +01:00
Christian Groessler
59ad7bafe0
fix for info file generation
2014-02-28 12:04:57 +01:00
Oliver Schmidt
0bcc9675f1
Merge pull request #86 from AntiheroSoftware/ca65-65816
...
Fix jmp($1234) opcode table
2014-02-28 08:46:44 +01:00
Oliver Schmidt
8d95a64b58
Added .info file generation.
2014-02-27 23:37:36 +01:00
lintbe
3de9f2e2dd
fix jmp($1234) opcode table
2014-02-27 10:01:39 +01:00
Christian Groessler
4b58a20b8c
Increase the default start address a bit in case BASIC is started
...
('OPTION' not pressed at power on). It would otherwise overwrite parts
at the beginning.
2014-02-21 23:34:05 +01:00
Christian Groessler
81fe7a3805
cleanups; split 'header' and 'init' part into two source files
2014-02-21 22:43:44 +01:00
Christian Groessler
8b876b2ce5
document 'atari-cassette.cfg'
2014-02-21 22:42:54 +01:00
Christian Groessler
09f7eb72c2
remove workaround for _heapmaxavail
2014-02-21 22:42:09 +01:00
Christian Groessler
701c59900d
Merge remote-tracking branch 'upstream/master' into cassette
2014-02-21 21:02:54 +01:00
Oliver Schmidt
d001a6f1a0
Have _heapmaxavail() work as advertised.
...
The cc65 doc explicitly states that the return value of _heapmaxavail() can be used as parameter of malloc(). To actually allow for that the size of HEAP_ADMIN_SPACE has to be substracted from the raw size of the largest free heap block.
2014-02-20 21:04:11 +01:00
Oliver Schmidt
4b085f193e
Merge pull request #83 from AntiheroSoftware/ca65-65816
...
Fix for pull request #80 bad JML opcode and adding syntax for Absolute Indirect Long
2014-02-20 15:07:56 +01:00
Christian Groessler
65874d4604
Merge remote-tracking branch 'upstream/master' into cassette
2014-02-20 01:05:10 +01:00
Christian Groessler
8178c71de1
add utility program to write files to cassette
2014-02-20 00:56:22 +01:00
Christian Groessler
478da8e51f
load CASHDR segment into RAM
2014-02-20 00:45:48 +01:00
Oliver Schmidt
2dab4958e4
Migrated project files to VS2013.
2014-02-19 23:09:46 +01:00
Oliver Schmidt
8ff65c99d1
Merge pull request #84 from groessler/something_to_pull
...
Atari: read.s: fix uninitialized use of 'buflen'
2014-02-19 23:00:31 +01:00