![]() |
![]() |
#1 |
Registered User
Join Date: Nov 2017
Location: france
Posts: 109
|
Trackwriter only on one Side
Hi !
I am looking for a code or software allowing me to write data on a floppy disk at desired location but only on one side (chosen when start this code). Example: Data available in memory in $20000 Length of $2C000 Need to write them on DF0 from the cylinder 00 sector00 but written without changing face so, once arrived at sector 11, do not change side and continue writing on the floppy to the next cylinder. Thks a lot |
![]() |
![]() |
#2 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
I can't remember any tool to do this but it's easy to do with a few lines of code. Use trackdisk.device (DoIO) or any trackloader which allows to save data (such as Rob Northen's), create a list of offsets for your data and you can write the data exactly the way you want. Or simply write one track, skip one, write one track etc.
|
![]() |
![]() |
#3 |
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 56
Posts: 2,039
|
You can use Siegfried Copy to write one sided data, but you must know what you must do.
|
![]() |
![]() |
#4 |
Registered User
Join Date: Nov 2017
Location: france
Posts: 109
|
StingRay : I you have this kind of code, i want it.
On my side, I can't create with my knowledge this code. Siegfried Copy it is not a X-copy like ? no ? I don't want copy a floppy or adf, I want to put some date (from ram or file) on specific cylinder and only on 1 side. You sure Siegfried Copy can do this ? |
![]() |
![]() |
#5 |
ex. demoscener "Bigmama"
Join Date: Jun 2012
Location: Fyn / Denmark
Posts: 1,638
|
|
![]() |
![]() |
#6 |
old bearded fool
Join Date: Jan 2010
Location: Bangkok
Age: 56
Posts: 779
|
Does a single "track" (0-79) always involve both heads? Or is it head change depending on "odd" or "even" track?
|
![]() |
![]() |
#7 |
Registered User
Join Date: Nov 2017
Location: france
Posts: 109
|
Well, If I'm not wrong, 'Single side' don't exist on Amiga.
Off course, You can find some game that have only data on One side but they used a specific trackloader. Ex : IK+ http://sasfepu78.ddns.net/cgi-bin/IP...9_IKplus_AMIGA If you use trackdisk.device (ak : jsr -1C8) It's work with 11 sector, 80 cylinder with 2 sides We can also work with another 'word' like sectors, track... But like we saif in another thread : http://eab.abime.net/showthread.php?t=90102 Data start In a 'track' in sector 00 and going to Sector 10 (so 11 sectors) then... change side and continue reading/writing the data on the 'new' 'track' Track as Half cylinder Solution is, like StingRay say, use a modify trackloader code. I try to going this way. |
![]() |
![]() |
#8 | |
Registered User
Join Date: Jan 2008
Location: Warsaw/Poland
Age: 56
Posts: 2,039
|
Quote:
|
|
![]() |
![]() |
#9 | |
Going nowhere
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 9,016
|
Quote:
You can use the Rob Northen loader to write your data in $1600 byte chunks, and then offset to the next track to write to. So for instance we would start like this. move.l #file_length,d7 moveq #0,d0 ;DF0 selected moveq #$B,d1 ;Start write at sector 11 ($B) lea data,a0 ;Pointer to data to write to disk moveq #1,d3 ; Activate write disk moveq #$B,d2 ;Write 11 sectors loop_write: lea trackbuffer,a1 ; Data area for trackbuffer bsr rnc_load ;Write data tst.l d0 bne disk_error sub.l #$1600,d7 ;subtract last written track size from file length bmi file_written ; If we have gone minus, write file complete add.w #$b+$b,d1 ; Skip other side and get to next offset on same side lea $1600(a0),a0 ;Get to next chunk of data to write bra loop_write disk_error: bra disk_error file_written: Something along those lines will do what you require, you could do something similar with trackdisk device, just passing the various offsets as Stingray already described, but certainly no need to hack an existing loader. |
|
![]() |
![]() |
#10 |
Registered User
Join Date: Nov 2017
Location: france
Posts: 109
|
I try Siegried Copy and I was not convinced.
It's not really suitable for what I want to do and with on several marges files. I see this post : http://eab.abime.net/showthread.php?t=16314 And I see this : Writefile.s - Writes the specified file to the master disk Maybe, with this code and some modification... |
![]() |
![]() |
#11 |
Registered User
Join Date: Nov 2017
Location: france
Posts: 109
|
Galahad/FLT : ok, but I already search for 'Rob Northen loader' ource code and I don't find it.
|
![]() |
![]() |
#12 | |
Going nowhere
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 9,016
|
Quote:
![]() http://flashtro.com/rnc-sector-laoder-shortened/ |
|
![]() |
![]() |
#13 |
Registered User
Join Date: Nov 2017
Location: france
Posts: 109
|
Gooood
Thks. Last Time : Hummm, Don't think this version take D3 for Read/Write configuration... I don't see, in the source code D3 opération like this. Last edited by Giants; 03 August 2018 at 22:39. |
![]() |
![]() |
#14 | |
noodle
Join Date: Jun 2007
Location: europe
Posts: 247
|
is Blood Money use this kind of custom trackloader ??
quote from whdload : Quote:
|
|
![]() |
![]() |
#15 |
Going nowhere
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 9,016
|
|
![]() |
![]() |
#16 |
Going nowhere
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 9,016
|
|
![]() |
![]() |
#17 |
Registered User
Join Date: Nov 2017
Location: france
Posts: 109
|
Well... a lot of 'trackload' thing in the zone...
I find 2 RNC binarie code. Same code but one is shortest than other. All start with the same code and for me, Don't work in 'writing' mode. Is strange that is hard to find a trackloader who can also write I think. Here, a zip of 2 RNS rnc trackloader I find, but don't think is work in 'writing' mode and, pretty sure, if it's work in writing mode, not with D3=1 Find in another thread of RN Loader : d3.w = Operation (read = 0, write = 1, format = 2) |
![]() |
![]() |
#18 |
Registered User
Join Date: Mar 2016
Location: Australia
Posts: 881
|
Solid Gold which has src available on aminet has a trackloader with write support.
|
![]() |
![]() |
#19 |
Registered User
Join Date: Nov 2017
Location: france
Posts: 109
|
Ah ?
Thks, I going to see that. Seems to be good but... but not 'compatible' for asm-one Macro and some another things are no loved by asmOne and I use AsmOne Arg... Last edited by Giants; 04 August 2018 at 13:19. |
![]() |
![]() |
#20 |
Going nowhere
Join Date: Oct 2001
Location: United Kingdom
Age: 50
Posts: 9,016
|
The "dosio.s" file I provided is the RNC sector loader with read/write support, its listed as such in the official Rob Northen text that accompanies the directory I have.
How are you using this loader? Are you correctly shutting down the system or disabling multitasking and allocating correct memory and such for the various things? Trackbuffer MUST be in chip ram. I'd like to know what framework code you're using to utilise the loader because i'm not convinced you're using it right. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dizzy and The Other Side (PC) | Neil79 | Retrogaming General Discussion | 0 | 23 June 2014 00:11 |
Upper side on a disk | Galder | support.Hardware | 1 | 26 April 2014 16:37 |
Five-A-Side Soccer | Specksynder | request.Old Rare Games | 14 | 06 December 2010 21:26 |
Five a side soccer | lolafg | Games images which need to be WHDified | 6 | 11 January 2010 20:41 |
Five a Side Soccer do not work from HD | olesio | support.Games | 24 | 10 January 2010 16:07 |
|
|