English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 03 September 2017, 20:28   #1
Crazy C
Registered User
 
Crazy C's Avatar
 
Join Date: Mar 2017
Location: Hannover / Germany
Age: 47
Posts: 70
Question Creating HDF images

How can HDF images be created?
I'm working on Android only...
Is there an Amiga tool or an other way to do this?
Crazy C is offline  
Old 03 September 2017, 20:55   #2
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 6,987
Quote:
Originally Posted by Crazy C View Post
Is there an Amiga tool or an other way to do this?
Code:
/* rexx */

file = "Public:Documents/WinUAE/hdf/test.hdf"
size = 256*1024*1024

bufsz = 32*1024
buffer = left('',bufsz,'00'x)

count = 0
if Open(out,file,write) then do
	do while (count < size)
		call WriteCh(out,buffer)
		count = count + bufsz
	end
	call Close(out)
end
else
	say "cannot open" file
thomas is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
creating HDF but says volume is full? Edwooger support.WinUAE 6 04 July 2013 19:06
Creating an empty hdf file Harko33 support.WinUAE 1 25 September 2011 23:46
Creating ADF images Dreedo support.Other 16 06 December 2010 17:49
Creating a SFS HDF file Bloodwych support.WinUAE 21 01 January 2007 16:53
Creating a HDF with WB1.3 Exodus support.WinUAE 39 11 February 2002 22:34

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 05:46.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.06549 seconds with 13 queries