Greg King
39b4b6838f
Made dio_read(), dio_write(), and dio_write_verify() catch sector number conversion errors.
2018-02-23 16:12:12 -05:00
Greg King
6fd56bf9b6
Fixed bugs in the geos-cbm DIO sector-number converter functions.
...
* The 16-bit comparison code actually didn't compare the high byte.
* This implementation supports only the 1541, 1571, and 1581; but, it didn't exclude the other drive types that GEOS supports.
* Two error code numbers were swapped.
* A 1571 converter didn't catch sector numbers that are too high.
* A 1581 converter didn't catch sector numbers that are too high.
2018-02-23 16:12:12 -05:00
Greg King
8476360e9f
Fixed bugs in geos-cbm's dio_open().
...
* Trying to open an unused drive would leave a byte on the hardware stack.
* Too high device numbers weren't caught.
2018-02-23 16:12:12 -05:00
Oliver Schmidt
85885001b1
Removed (pretty inconsistently used) tab chars from source code base.
2013-05-09 13:57:12 +02:00
Oliver Schmidt
008b4c4e1d
Replaced whole bunch for Makefiles with a single generic Makefile.
...
- No complex shell logic.
- "Source file shadowing" for all targets via vpath.
- Dependency handling.
- True incremental build.
- Don't write into source directories.
- Easy cleanup by just removing 'wrk'.
2013-05-04 22:10:48 +02:00
ol.sc
9930379665
Added (naive) implementation of dio_query_sectcount() and dio_query_sectsize() for GEOS 64/128.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5873 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-23 19:29:40 +00:00
ol.sc
6e829979d4
Normalized coding style.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5869 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-23 19:22:05 +00:00
ol.sc
61d4b6b03f
Removed DIO specific typedefs which were just aliases to basic types and replaced the term 'drive' with 'device' in order to harmonize with the recently added device.h.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5847 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-10-11 18:22:49 +00:00
uz
a564450415
Fixed a bug. High byte of the sector number is stored into the wrong place.
...
Reported by Stefan Haubenthal.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5579 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-03-08 18:59:41 +00:00
ol.sc
52f198b6c4
Normalized coding style.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5513 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-09 10:17:41 +00:00
ol.sc
baa6c53dec
Normalized coding style.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5494 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-07 22:37:13 +00:00
ol.sc
286d5979a2
Adjusted sorting.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5493 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-07 22:36:17 +00:00
ol.sc
10374c66ce
Moved the 'disk' files from 'geos-cbm' to 'geos-common' which are believed to work as-is on Apple GEOS too.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5447 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-02-04 21:46:26 +00:00
ol.sc
157fbddc68
Avoid paths in .include directives. The path needs to be rather set in the Makefile to allow to set it later depending on the target currently built.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5432 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-01-31 21:15:28 +00:00
ol.sc
b89b9b7049
Avoid paths in .include directives. The path needs to be rather set in the Makefile to allow to set it later depending on the target currently built.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5431 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-01-31 20:49:58 +00:00
ol.sc
0c69d4866c
The cc65 library build system is designed to call sub-makes in direct sub-directories of 'libsrc' only (meaning that sub-sub-directories are not supported). The GEOSLib source files however are organized in sub-directories of the 'libsrc/geos-cbm'. This mismatch was up to now handled by replicating the cc65 library build system functionality to allow for individal sub-makes in each 'libsrc/geos-cbm' sub-directory. This is unnecessarily hard understand and causes additional maintainance effort.
...
Now the whole GEOSLib is built in a single make instance running in 'libsrc/geos-cbm' - which is just what the cc65 library build system can handle. The 'libsrc/geos-cbm' sub-directories still contain Makefiles. However those files only define the set of object files to create from their sub-directory and get included into the 'libsrc/geos-cbm' Makefile.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5429 b7a2c559-68d2-44c3-8de9-860c34a00d81
2012-01-30 21:19:09 +00:00
uz
e6d74e7205
Renamed the old geos target to geos-cbm.
...
git-svn-id: svn://svn.cc65.org/cc65/trunk@5343 b7a2c559-68d2-44c3-8de9-860c34a00d81
2011-12-28 17:11:21 +00:00