1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-03 10:07:02 +00:00
Commit Graph

2988 Commits

Author SHA1 Message Date
cuz
08074a2ee3 Fixed an error and improved the code
git-svn-id: svn://svn.cc65.org/cc65/trunk@3317 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-30 18:47:25 +00:00
cuz
e506719f43 New code from Karri
git-svn-id: svn://svn.cc65.org/cc65/trunk@3316 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-29 16:03:00 +00:00
cuz
18b154e6b1 Replaced vsscanf by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@3315 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-28 18:45:13 +00:00
cuz
501cc4c6c8 Replace sscanf by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@3314 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-28 18:23:16 +00:00
cuz
c74253d081 Replaced fscanf by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@3313 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-28 18:11:17 +00:00
cuz
163c4e2fc8 Small optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@3312 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-28 18:10:47 +00:00
cuz
928acfee6c Removed an unused import
git-svn-id: svn://svn.cc65.org/cc65/trunk@3311 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-28 18:09:56 +00:00
cuz
3692fd40da New test optimization
git-svn-id: svn://svn.cc65.org/cc65/trunk@3310 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-27 21:13:07 +00:00
cuz
9ba5eafedf Optimization step that handles load from *ptr++ if ptr is a char* register
variable.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3309 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-27 20:52:46 +00:00
cuz
d2c8a754db Handle static functions correctly with %v.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3308 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-27 20:52:06 +00:00
cuz
626314e4cb Replace vscanf by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@3307 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-27 18:23:24 +00:00
cuz
c67ed28f9b Added O_EXCL
git-svn-id: svn://svn.cc65.org/cc65/trunk@3306 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-27 15:18:33 +00:00
cuz
35b7d549f4 Replace vfscanf by an assembler version
git-svn-id: svn://svn.cc65.org/cc65/trunk@3305 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-27 14:56:54 +00:00
cuz
dbb003c9ac Added assembler include function for _scanf
git-svn-id: svn://svn.cc65.org/cc65/trunk@3304 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-27 14:45:49 +00:00
cuz
7cf5f27ec6 Added vscanf
git-svn-id: svn://svn.cc65.org/cc65/trunk@3303 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-26 23:16:57 +00:00
cuz
fb4613f4ea Removed a comment about the scanf functions
git-svn-id: svn://svn.cc65.org/cc65/trunk@3302 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-26 22:41:01 +00:00
cuz
b1d4e1613b Rewrote _scanf. It does need some tests and improvements, but it's a more
standard version than before, and it does support the necessary functionality
to support scanf functions for files.
Added vfscanf, fscanf and vfscanf.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3301 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-26 22:16:54 +00:00
cuz
e35b91ed3b Fixed a bug
git-svn-id: svn://svn.cc65.org/cc65/trunk@3300 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-25 13:18:20 +00:00
cuz
38f27c1c16 Add the lynx
git-svn-id: svn://svn.cc65.org/cc65/trunk@3299 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-25 11:57:03 +00:00
cpg
cae4f9b1e8 SIZEP2 was misnamed (SIZEF2) - noticed by Fatih Aygün
git-svn-id: svn://svn.cc65.org/cc65/trunk@3298 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-23 21:45:25 +00:00
cpg
6db6a58225 fix CH_VLINE definition (noticed by Fatih Aygün)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3297 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-23 21:43:53 +00:00
cuz
d46b1a395b Fixed a bug in code generation for left shifts
git-svn-id: svn://svn.cc65.org/cc65/trunk@3296 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-23 10:04:34 +00:00
cuz
14e40851e9 New kbhit and cgetc functions from Karri
git-svn-id: svn://svn.cc65.org/cc65/trunk@3295 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-13 10:34:06 +00:00
cuz
4db225ae4a Profreading by Stefan Haubenthal
git-svn-id: svn://svn.cc65.org/cc65/trunk@3294 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-09 20:09:16 +00:00
cuz
71669b5ae3 Make _mouse_geterrormsg public
git-svn-id: svn://svn.cc65.org/cc65/trunk@3293 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 13:00:29 +00:00
cuz
4e81c529d9 Update the mouse demo to run with the new mouse API that uses loadable
drivers. Remove Atari support because there are no loadable drivers for
the Atari.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3292 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 12:54:30 +00:00
cuz
d136a3409f Cosmetic changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@3291 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 12:52:40 +00:00
cuz
cbacbb5222 Add constant for number of error codes
git-svn-id: svn://svn.cc65.org/cc65/trunk@3290 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 12:42:30 +00:00
cuz
9037886381 New function mouse_geterrormsg()
git-svn-id: svn://svn.cc65.org/cc65/trunk@3289 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 12:41:18 +00:00
cuz
f9abc154be Autodetect the location of the compiler and tools.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3288 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 11:33:30 +00:00
cuz
a939b2b7e9 Added the IRQ entry
git-svn-id: svn://svn.cc65.org/cc65/trunk@3287 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 11:33:08 +00:00
cuz
6ab41edc72 Removed the tgi_header structure because it is of no use for C programs
anyway, but needs maintainance.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3286 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 11:32:49 +00:00
cuz
b1afca6bb3 Use a structure for the TGI header as with other drivers.
git-svn-id: svn://svn.cc65.org/cc65/trunk@3285 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 11:30:45 +00:00
cuz
8b0c3d3425 Use the new TGI_HDR structure.
Added an interrupt entry point for the drivers.
Rewrote tgi_unload to avoid problems with the tgi_drv pointer.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3284 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 11:30:26 +00:00
cuz
3088254f57 Cosmetic changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@3283 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 11:24:33 +00:00
cuz
f044f9d6b5 Added the irq vector
git-svn-id: svn://svn.cc65.org/cc65/trunk@3282 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-07 10:45:24 +00:00
cuz
84be744418 Moved additional zeropage variables into an extra module.
Added interrupt vector to joystick driver.
New code from Karri.
Rewrote joystick initialization to make it somewhat shorter.


git-svn-id: svn://svn.cc65.org/cc65/trunk@3281 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-06 13:51:02 +00:00
cuz
dc781be7f9 Add the irq entry point
git-svn-id: svn://svn.cc65.org/cc65/trunk@3280 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-06 13:27:38 +00:00
cuz
16c81eb942 Add the irq entry point
git-svn-id: svn://svn.cc65.org/cc65/trunk@3279 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-06 13:12:57 +00:00
cuz
59d2e4e1f4 Make _joy_masks global
git-svn-id: svn://svn.cc65.org/cc65/trunk@3278 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-06 13:09:17 +00:00
cuz
5aee1c5397 Export the interrupt entry point
git-svn-id: svn://svn.cc65.org/cc65/trunk@3277 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-06 13:09:01 +00:00
cuz
116ade035c Added the IRQ entry point
git-svn-id: svn://svn.cc65.org/cc65/trunk@3276 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-06 13:05:26 +00:00
cuz
0ad0a2e138 Added IRQ entry point, bumped the version number
git-svn-id: svn://svn.cc65.org/cc65/trunk@3275 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-06 13:01:15 +00:00
cuz
ff36915c79 Added IRQ entry point
git-svn-id: svn://svn.cc65.org/cc65/trunk@3274 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-06 13:00:17 +00:00
cuz
ea75fef1bf Disable the IRQ before calling mouse_uninstall
git-svn-id: svn://svn.cc65.org/cc65/trunk@3273 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-06 12:58:43 +00:00
cuz
f9c8634346 Set view and draw pages
git-svn-id: svn://svn.cc65.org/cc65/trunk@3272 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-11-03 18:33:23 +00:00
cuz
ec3dc8f73d New submakefile use
git-svn-id: svn://svn.cc65.org/cc65/trunk@3271 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-26 21:21:06 +00:00
cuz
9ecc9c044f The NES does now have a joystick driver
git-svn-id: svn://svn.cc65.org/cc65/trunk@3270 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-26 21:04:38 +00:00
cuz
3a70b3bc2f Some renaming
git-svn-id: svn://svn.cc65.org/cc65/trunk@3269 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-26 21:03:47 +00:00
cuz
4e34062fde Ignore the drivers
git-svn-id: svn://svn.cc65.org/cc65/trunk@3268 b7a2c559-68d2-44c3-8de9-860c34a00d81
2004-10-26 21:02:20 +00:00