CPCWiki forum

General Category => Programming => Topic started by: Devilmarkus on 21:58, 14 May 10

Title: Java-GUI for CPCXFS
Post by: Devilmarkus on 21:58, 14 May 10
Hi folks,
  2 days of hard coding I am ready to release my latest prod. in Java:
  DiskUtil - A smart GUI to work with DSK files.
  Please notice:
  This Java-app uses the DOS program "cpcxfs.exe" so it runs only on a   Windows system.
 
  (http://cpc-live.com/diskutil.png)
 
  You can:
  - Open a DSK into DF0 or DF1
  - Drag & Drop files onto your DSK and in choosen USER
  - Delete files on DSK
  - Extract files from DSK to your PC
  - Hex-edit your DSK
  - Hide/Show files on DSK (SYS)
  - Protect/Unprotect files
 
Download:
http://cpc-live.com/DiskUtil.zip

  Have fun!
 
Title: Re: Java-GUI for CPCXFS
Post by: Devilmarkus on 23:49, 14 May 10
*grrrrrrrrrrrr!
Had a small bug in code!
Please redownload the app...
Protecting/Hiding files was faulty.

Should work now properly.
Title: Re: Java-GUI for CPCXFS
Post by: Devilmarkus on 13:15, 15 May 10
Melted some things together today!

  (http://cpc-live.com/dskutil1.png)

  (http://cpc-live.com/dskutil2.png)

  (http://cpc-live.com/dskutil3.png)

  (http://cpc-live.com/dskutil4.png)

You can now also transfer DSK's to floppy and from floppy to DSK!

You can also format / create new DSK images with it!

Download:
http://cpc-live.com/DiskUtil.zip

Enjoy it and please leave some feedback.
Title: Re: Java-GUI for CPCXFS
Post by: Devilmarkus on 11:06, 16 May 10
Update: Newer version of SAMdisk included! (build from September 2009)
The main application is a Windows-EXE now.

http://cpc-live.com/DiskUtil.zip
Title: Re: Java-GUI for CPCXFS
Post by: Devilmarkus on 12:21, 04 July 10
New update for DiskUtil:

(http://retropower.eu/diskutil_1_2.png)

New features:
'Fix EyeCatcher': overwrites the DSK internal EyeCatcher with JavaCPC's eyecatcher info.

'Create txt info'
- When choosen, each DSK you load into this app, will create a txt file containing it's directory.
  e.g.:
Directory of C:\disks\nwc_progs-2.dsk:

MODE3SCR.BIN  -   16384 bytes  -  Usr 0
MODE3TST.BIN  -     384 bytes  -  Usr 0
SCR1    .SCR  -   16384 bytes  -  Usr 0
SCR2    .SCR  -   16384 bytes  -  Usr 0
TEST    .BAS  -     128 bytes  -  Usr 0

Bytes free: 126976


Several bugs fixed!
- Show/Hide function and Protect/Unprotect function improved
- Last version of SamDisk added
- Uses the same config than JavaCPC (DiskUtil is also part of next JavaCPC)
- GUI appearance fixed
- And a few more bugfixes

Download it here:
http://retropower.eu/cpc/index.php?dir=-tools

Cheers,
Markus
Title: Re: Java-GUI for CPCXFS
Post by: CPCIak on 12:48, 04 July 10
Sorry, but what's an eyecatcher function?
Title: Re: Java-GUI for CPCXFS
Post by: Devilmarkus on 12:53, 04 July 10
Quote from: CPCIak on 12:48, 04 July 10
Sorry, but what's an eyecatcher function?

Each DSK has an EyeCatcher (can have, is not necessary)
So, some emulators know, which emu/app created this dsk:
00000000h: 45 58 54 45 4E 44 45 44 20 43 50 43 20 44 53 4B ; EXTENDED CPC DSK
00000010h: 20 46 69 6C 65 0D 0A 44 69 73 6B 2D 49 6E 66 6F ;  File..Disk-Info
00000020h: 0D 0A 4A 41 56 41 43 50 43 20 45 58 54 44 53 4B ; ..JAVACPC EXTDSK
00000030h: 28 01 00 00 13 13 13 13 13 13 13 13 13 13 13 13 ; (...............
00000040h: 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 13 ; ................
00000050h: 13 13 13 13 13 13 13 13 13 13 13 13 00 00 00 00 ; ................
00000060h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000070h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000080h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
00000090h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
000000a0h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
000000b0h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
000000c0h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
000000d0h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
000000e0h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
000000f0h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
Title: Re: Java-GUI for CPCXFS
Post by: CPCIak on 12:57, 04 July 10
Thanx for explanation Markus.
Title: Re: Java-GUI for CPCXFS
Post by: Devilmarkus on 13:09, 04 July 10
Grmllllll... Bug fix!
Please re-download...
Title: Re: Java-GUI for CPCXFS
Post by: Gryzor on 07:59, 05 July 10
The eye-catcher bit is interesting. So, if an emulator knows these details, where are they used?
Title: Re: Java-GUI for CPCXFS
Post by: AMSDOS on 22:44, 03 October 10
Just had a issue to raise with DiskUtil.exe - I think I've got the latest version & it's running stable and all, but I'm having problems with Disk Images where the Directory is pretty full because I cannot extract files past a certain point.

Not sure if you're going to update your program in the future, though a "put" function - to put "files" back onto the Disk would be extremely handy as well!  ;)

Otherwise it works fine!  ;D
Title: Re: Java-GUI for CPCXFS
Post by: TFM on 03:40, 04 October 10
Hi Markus!

Downloaded it, it looks nice, didn't test it much... late @night already! But great work! and thank you for supporting the Vortex standard format (didn't see it first, hidden at the lower end of names ;-).
Powered by SMFPacks Menu Editor Mod