Commit graph pcjs/modules/diskdump/lib
Author SHA1 Message Date
Jeff Parsons
3ba2f569b9 DiskDump should now automatically shrink a disk image whose logical format is smaller than its physical format 2017-07-04 15:25:54 -07:00
Jeff Parsons
c4a8d66027 Changed DiskDump to deal better with disk images that are physically larger than the disk's logical file system (specifically, 320Kb FAT images inside 360Kb disk images, and 160Kb FAT images inside 180Kb disk images); the Lotus 1-2-3 v1.0a disks I dumped from my personal collection are the perfect example. 2017-07-04 13:35:50 -07:00
Jeff Parsons
5283d0912a Updated the DiskDump --forceBPB option 2017-06-29 15:35:14 -07:00
Jeff Parsons
7ca8fa18a1 Changed the onclick handlers for Keyboard CLICKCODES to let updateFocus() scroll the canvas into view as needed, because (at least on iOS) the code that tries prevent the page from scrolling has an annoying "jerking" side-effect; also fixed the old Node web server code that would install onclick handlers for disk images, triggering automatic conversion of JSON to IMG files 2017-06-26 11:05:01 -07:00
Jeff Parsons
74617db812 Added DiskDump option to create mountable albeit unbootable disks: --forceBPB 2017-06-26 00:10:47 -07:00
Jeff Parsons
503cda40f7 Fixed machine array demos, by permitting machine IDs with hyphenated numeric suffixes to use a machine state file created with an unhyphenated machine ID, and added a demo of Windows 1.0 (the "Premiere Edition") 2017-06-23 14:00:27 -07:00
Jeff Parsons
80d2c3a334 Updated the manifest for the PC-DOS 1.00 disk (and shrank the JSON-encoded image a bit) 2017-06-21 19:20:54 -07:00
Jeff Parsons
6d527d2e46 Fixed size calculation in DiskDump's updateManifest() 2017-06-21 18:23:19 -07:00
Jeff Parsons
0b6cf80c88 Added buildManifestInfo() to populate disk manifests with file information when the files are available locally 2017-06-21 18:04:56 -07:00
Jeff Parsons
96e3c4a060 Shareware diskette images added 2017-06-19 23:39:22 -07:00
Jeff Parsons
4e0d3d46da Fixed root directory check to ensure we don't select a disk format with too few root directory entries 2017-06-19 18:12:33 -07:00
Jeff Parsons
fb57561660 Fixed disk size calculation, ensuring that the disk size we select for a collection of files will actually work (including cluster overhead) 2017-06-19 16:06:58 -07:00
Jeff Parsons
b2d6e254ac DiskDump updates 2017-06-17 09:54:32 -07:00
Jeff Parsons
37eab35953 Updated DiskDump comments 2017-06-15 09:19:47 -07:00
Jeff Parsons
f8eeed79bf Changed the "Adventures in Math (1983)" demo to boot PC-DOS 1.0 -- which in turn required a 160Kb disk image for the game 2017-06-14 16:02:03 -07:00
Jeff Parsons
54fd1fad2a Fixed disk images produced by DiskDump when copying BAS files (they must be treated as binary files) 2017-06-14 11:18:57 -07:00
Jeff Parsons
b00b56212e Fixed optimized DiskDump output 2017-06-14 10:29:28 -07:00
Jeff Parsons
6b35166b1f Updated FAT overhead notes 2017-06-01 21:43:59 -07:00
Jeff Parsons
81591ad8d5 Updated FAT overhead notes 2017-06-01 21:34:06 -07:00
Jeff Parsons
5441c6346b Improved geometry calculation for all disk images, not just those listed in DiskAPI.js 2017-06-01 20:59:41 -07:00
Jeff Parsons
20f8bdf141 Added more info about DOS 2.0 BPBs 2017-06-01 16:42:46 -07:00
Jeff Parsons
3e1aa196bd Added an empty 10Mb disk image formatted by PC-DOS 2.0 (currently used by one machine: 5160/cga/640kb); also fixed some issues uncovered in the process of creating the disk image (eg, a bug in the HDC's save logic when no image has been loaded), and made some fixes and optimizations in DiskDump 2017-06-01 15:32:17 -07:00
Jeff Parsons
b42c858c44 Added BPB to pre-2.0 DOS disks, for consistency and mounting support 2017-06-01 09:15:39 -07:00
Jeff Parsons
f87161f5d6 v1.32.0: The New Year Release 2016-12-30 15:56:01 -08:00
Jeff Parsons
d930b31c53 Some minor changes to make it easier to load a machine in the Node environment 2016-12-27 22:05:59 -08:00
Jeff Parsons
871b22c779 Fixed autoMount processing when multiple disk controllers are loaded 2016-11-22 11:14:57 -08:00
Jeff
88b485d094 Added a variety of checks and automatic repairs to DiskDump, aimed primarily at issues I've come across with pre-DOS 2.0 diskettes (eg, diskettes without BPBs, like 160Kb diskettes from DOS 1.0 and 320Kb diskettes from DOS 1.1) 2016-10-27 17:59:20 -07:00
Jeff Parsons
9e480d7574 Added new RL11 component (work-in-progress) 2016-10-24 16:28:48 -07:00
Jeff Parsons
b1f8fca2d9 Re-enabled source maps, at least for the PDP-11 emulators (for now) 2016-10-14 09:30:17 -07:00
Jeff
e24d507aa2 Removed useless version numbers and dates from .js file headers 2016-10-06 16:22:24 -07:00
Jeff Parsons
1265104e6d Added support for converting numbers to/from octal, along with improved support for binary numbers 2016-09-15 18:23:09 -07:00
Jeff Parsons
6185e4131c Updated JavaScript open-source headers 2016-05-27 08:46:13 -07:00
Jeff Parsons
288f28055d Starting work on disambiguating PCjs the emulator from PCjs the project/website; the emulator will become PCx86 2016-05-16 20:55:32 -07:00
Jeff Parsons
2b6dc0153f Disk updates (including COMPAQ MS-DOS 3.00) 2016-05-04 12:46:39 -07:00
Jeff Parsons
b04ef7e49f Try to be more consistent when referring to disks vs. drives (eg, Drive Controllers, not Disk Controllers) 2016-05-01 13:47:58 -07:00
Jeff Parsons
b55e6ba2c4 5170 and Enhanced DEBUG updates 2016-04-11 18:19:53 -07:00
Jeff Parsons
25da7a3a94 More redirects and some API tweaks 2016-04-07 08:29:54 -07:00
Jeff Parsons
e02706ab08 Move non-CPU-related update functions to the Computer component 2016-03-30 17:04:36 -07:00
Jeff Parsons
f81e55f0ee Added assortment of empty diskettes to library, and updated DiskDump to support a target disk size (--size replaces the older, kludgier --mbhd) 2016-03-28 17:08:15 -07:00
Jeff Parsons
5e4e875d05 Added useful disks from assorted programming guides 2016-03-23 12:42:18 -07:00
Jeff Parsons
a56e347a88 Fixed a couple of new DiskDump bugs 2016-02-23 10:48:22 -08:00
Jeff Parsons
255700f88a Changed save.js, fdc.js, and diskdump.js to use a shared download function 2016-02-23 00:06:38 -08:00
Jeff Parsons
3dd7512f4f Client-side support for the original DiskDump API is finally limping along 2016-02-22 17:38:57 -08:00
Jeff Parsons
f032f95611 Replaced loadResource() with the more streamlined getResource(), for all your resource-getting needs (well, except for binary files, which should be coming soon) 2016-02-21 15:51:54 -08:00
Jeff Parsons
2bb3cbe319 The project is not "AWS-powered" anymore 2016-01-21 09:44:46 -08:00
Jeff Parsons
5cb676e501 Updated Computer constants 2016-01-16 14:37:39 -08:00
Jeff Parsons
c792895b10 v1.20.3: The Happy 2016 Release 2015-12-31 15:51:14 -08:00
Jeff Parsons
e5a4a050b4 Work-around to detect 615-cylinder hard disks 2015-12-18 14:34:56 -08:00
Jeff Parsons
646acf3a8d Simplified the NODE tests 2015-09-16 15:32:49 -07:00
Jeff Parsons
bd03a63269 DiskDump work-around and some terminology tweaks to Video 2015-06-11 10:54:43 -07:00