Commit Graph

8204 Commits

Author SHA1 Message Date
Oliver Schmidt
010d495e03 loader.system is now official part of the cc65 Apple II support. 2013-02-17 00:30:55 +01:00
Oliver Schmidt
d4433a7498 Replaced 10.1.1.1/8 with 192.168.0.0/24. 2013-02-16 23:04:55 +01:00
Oliver Schmidt
61b90c0126 We actually need PROJECT_OBJECTFILES and PROJECT_LIBRARIES for retro builds too. 2013-02-16 22:57:50 +01:00
Oliver Schmidt
9040f83fd4 Reduced program size.
On the C128 the custom PFS code doesn't add functionality (as it does with IDE64 support on the C64) but is "only" smaller than the POSIX file i/o code in the C library. But the POSIX directory access code in the C library relies on the POSIX file i/o code anyway so there no point in additionally adding the PFS code to the FTP program.
2013-02-14 15:57:20 +01:00
Oliver Schmidt
107b79c019 The recent cc65 snapshot yields somewhat small programs so we can move back to the MTU size used before. 2013-02-14 15:45:33 +01:00
Oliver Schmidt
98060c1eab Moved from last cc65 release (2.13.3) to recent cc65 snapshot (2.13.9).
Relevant cc65 changes...

General:
- The compiler generates "extended" dependency info (like gcc) so there's no need for postprocessing whatsoever :-)
- The linker is very pernickety regarding the ordering of cmdline options so a custom linker rule is necessary :-(

Apple2:
- The various memory usage scenarios aren't specified anymore via separate linker configs but via defines overriding default values in the builtin linker config.

Atari:
- The builtin linker config allows to override the start addr so there no more need for a custom linker config.
- The C library comes with POSIX directory access. So there's no more need for for a custom coding.

CBM:
- The C library comes with POSIX directory access. So there's no more need for for a custom coding.
2013-02-14 15:42:43 +01:00
Oliver Schmidt
c385dd1393 Be consistent with tab chars in Makefiles. 2013-02-11 00:28:31 +01:00
Oliver Schmidt
ea4fac679f Allow user to read the result of wget.
Several retro targets clear the screen after program termination so allow user to read the result.
2013-02-11 00:24:51 +01:00
Oliver Schmidt
1af5110946 Merge remote-tracking branch 'refs/remotes/origin/master' 2013-02-10 15:51:04 +01:00
Oliver Schmidt
1eda821a75 Fixed severe bug in PSOCK_READTO (?)
Either I found and fixed a severe bug in PSOCK_READTO() or I misunderstood something completely. To me PSOCK_READTO() is supposed to return if either the supplied character was read or if the user supplied buffer is exhausted - sor far so good.

However if the latter occurs up to now PSOCK_READTO() was continuing to process characters already read from the network (aka present in the uIP buffer) in order to check if the supplied character was found there and adjust the return value accordingly. But this means that the character processed this way were lost forever for the caller as the next call to PSOCK_READTO() would continue to read past the characters processed this way.

Therefore I removed that character processing altogether. So now if the user supplied buffer is exhausted before the supplied character is found the next call to PSOCK_READTO() starts exactly where previous call left off.
2013-02-10 15:41:34 +01:00
Oliver Schmidt
1895d3a959 Fixed severe bug in PSOCK_READTO (?)
Either I found and fixed a severe bug in PSOCK_READTO() or I misunderstood something completely. To me PSOCK_READTO() is supposed to return if either the supplied character was read or if the user supplied buffer is exhausted - sor far so good.

However if the latter occurs up to now PSOCK_READTO() was continuing to process characters already read from the network (aka present in the uIP buffer) in order to check if the supplied character was found there and adjust the return value accordingly. But this means that the character processed this way were lost forever for the caller as the next call to PSOCK_READTO() would continue to read past the characters processed this way.

Therefore I removed that character processing altogether. So now if the user supplied buffer is exhausted before the supplied character is found the next call to PSOCK_READTO() starts exactly where previous call left off.
2013-02-09 22:22:31 +01:00
Oliver Schmidt
19c8f9ffdd Merge pull request #122 from oliverschmidt/master
There's no point in ctk_restore() for standalone GUI builds.
2013-02-09 12:50:37 -08:00
Oliver Schmidt
45c44e23d7 There's no point in ctk_restore() for standalone GUI builds. 2013-02-09 21:49:00 +01:00
Oliver Schmidt
c7f986faf5 Merge pull request #121 from oliverschmidt/master
Several minor adjustments.
2013-02-08 17:04:04 -08:00
Oliver Schmidt
21b8be3798 Use plain ASCII chars for lines on Win32 console CTK. 2013-02-09 02:02:46 +01:00
Oliver Schmidt
b1eeaf31c9 Fixed Win32 'platform build'. 2013-02-09 02:00:35 +01:00
Oliver Schmidt
9938cb6838 Adjusted names. 2013-02-09 01:58:37 +01:00
Nicolas Tsiftes
e929857048 Merge pull request #109 from malvira/use-rtc-factor
Improvments to enable low-power mode on mc1322x
2013-02-08 07:13:54 -08:00
Oliver Schmidt
d746786709 Merge pull request #118 from oliverschmidt/master
Added Atari 800k (MyDOS 4.53/4) floppy image.
2013-02-05 14:10:55 -08:00
Oliver Schmidt
5ed35d5c25 Added Atari 800k (MyDOS 4.53/4) floppy image. 2013-02-05 23:06:48 +01:00
Oliver Schmidt
4f337c75fc Merge pull request #117 from oliverschmidt/master
Added Apple II 3.5" floppy image.
2013-02-05 12:09:21 -08:00
Oliver Schmidt
7760b6baac Added Apple II 3.5" floppy image. 2013-02-05 21:07:54 +01:00
Oliver Schmidt
13c842f8e3 Merge pull request #115 from oliverschmidt/master
Reorganized retro distro Makefile (and added telnetd).
2013-02-04 14:30:54 -08:00
Oliver Schmidt
2af9f3f26f Reorganized retro distro Makefile (and added telnetd). 2013-02-04 23:29:07 +01:00
Oliver Schmidt
1324fa66bf Merge pull request #113 from oliverschmidt/master
Allow to reduce functionality if non-standard alloca() isn't available.
2013-02-03 15:51:07 -08:00
Oliver Schmidt
b493395f00 Allow to reduce functionality if non-standard alloca() isn't available. 2013-02-04 00:49:52 +01:00
Oliver Schmidt
b504601262 Merge pull request #112 from oliverschmidt/master
Removed unnecessary -p option from mkdir calls for cmd.exe compatibility.
2013-02-03 14:48:39 -08:00
Oliver Schmidt
efeab670de Removed unnecessary -p option from mkdir calls for cmd.exe compatibility. 2013-02-03 23:47:25 +01:00
Oliver Schmidt
eb1e277039 Merge pull request #111 from oliverschmidt/master
Minor uIP code increase from Contiki 2.5 to Contiki 2.6 make a buffer reduction necessary.
2013-02-03 14:43:18 -08:00
Oliver Schmidt
945b334457 Minor uIP code increase from Contiki 2.5 to Contiki 2.6 make a buffer reduction necessary. 2013-02-03 23:41:20 +01:00
Oliver Schmidt
47a8462e54 Merge pull request #110 from oliverschmidt/master
Removed uiplib_ip6addrconv() from IPv4 builds.
2013-02-03 14:06:20 -08:00
Oliver Schmidt
29391ef9ae Removed uiplib_ip6addrconv() from IPv4 builds.
While it may very well be beneficial to have explict uiplib_ip4addrconv() and uiplib_ip6addrconv() available for IPv6 builds I'm having a hard time to see the point in uiplib_ip6addrconv() for IPv4 builds.

Unrelated to the above the dispatching of uiplib_ipaddrconv() to either uiplib_ip4addrconv() or uiplib_ip6addrconv() can be accomplished by the C preprocessor only thus avoiding the size/speed overhead of an additional callframe.
2013-02-03 23:04:41 +01:00
Mariano Alvira
299d8c6cbf set the pin defaults properly to reduce current consumption on
sleeping M12s.
2013-02-03 15:15:11 -05:00
Mariano Alvira
fb8bbf37cf Use the RTC only as the main timer.
This is a major change to how the main tick interrupt is handled on
the mc1322x platforms. Instead of using two timer resources, TMR0 and
RTC, this patch unifies all the timers to use the RTC. This is enabled by
implementing etimers as scheduled rtimers. The main advantage (aside
from freeing TMR0 for general use) is have the Contiki timebase come
from the same source that will be used for sleeping and wakeup.
2013-02-03 15:15:05 -05:00
Mariano Alvira
ad55ccdec4 add working routines to turn the mc1322x radio on and off 2013-02-03 14:48:38 -05:00
Oliver Schmidt
f57ccf41e7 Merge pull request #108 from oliverschmidt/master
Added VC++ and cc65 file types.
2013-02-03 03:05:52 -08:00
Oliver Schmidt
a3ae531ce7 Added VC++ and cc65 file types. 2013-02-03 12:05:04 +01:00
Oliver Schmidt
d5d0538ea5 Merge pull request #107 from oliverschmidt/master
Updated Contiki URL in sample web page.
2013-02-03 01:59:10 -08:00
Oliver Schmidt
81bc336a93 Updated Contiki URL in sample web page. 2013-02-03 10:57:48 +01:00
Oliver Schmidt
9e3dfb7ce2 Merge pull request #106 from oliverschmidt/master
Moved retro IP configuration from web site to target machine / Deliver retro CBM disk images as .d64, .d71 and .d81 files.
2013-02-01 16:13:17 -08:00
Oliver Schmidt
21407162c4 Deliver retro CBM disk images as .d64, .d71 and .d81 files. 2013-02-02 01:07:50 +01:00
Oliver Schmidt
b175ba7463 Moved retro IP configuration from web site to target machine.
Better match user expectations by allowing to download plain disk images and configure the IP settings afterwards on the target machine - then most likely leveraging DHCP. This works for the users with the most usual Ethernet adapter and settings - which are now pre-configured in default.cfg's. Only the few users with non-default Ethernet adapter and/or settings are required to download a custom contiki.cfg and inject it manually into their disk image files.
2013-02-01 23:19:12 +01:00
Oliver Schmidt
87475cf2d0 Merge pull request #105 from oliverschmidt/master
Renamed retro 'dhcp-client' to 'ipconfig' as it can as well be used for interactive manual configuration.
2013-02-01 12:28:35 -08:00
Oliver Schmidt
69317ad1db Renamed retro 'dhcp-client' to 'ipconfig' as it can as well be used for interactive manual configuration. 2013-02-01 21:20:21 +01:00
Oliver Schmidt
c1223acef0 Merge pull request #103 from oliverschmidt/master
Have the wget process allow the resolver process to initialize properly.
2013-01-31 15:34:35 -08:00
Oliver Schmidt
7360444c94 Have the wget process allow the resolver process to initialize properly. 2013-02-01 00:10:03 +01:00
Oliver Schmidt
bfc1e816de Merge pull request #100 from oliverschmidt/master
Do not reject frames with a length exactly equal to the uIP bufer size.
2013-01-30 14:42:12 -08:00
Oliver Schmidt
74dfff972f Do not reject frames with a length exactly equal to the uIP bufer size. 2013-01-30 23:39:01 +01:00
Oliver Schmidt
2b9a1c60d2 Merge pull request #96 from oliverschmidt/master
Minor README updates.
2013-01-29 13:47:06 -08:00
Oliver Schmidt
e88997b71c Minor README updates. 2013-01-29 22:44:37 +01:00