WHDLoad MantisBT - RawDIC | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0006459 | RawDIC | [All Projects] General | public | 2024-04-03 21:42 | 2024-04-03 21:42 |
Reporter | StingRay | ||||
---|---|---|---|---|---|
Assigned To | |||||
Priority | normal | Severity | feature | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Machine | A4000 | ||||
CPU | 68060 | ||||
CPUSpeed | 50 | ||||
ChipSet | AGA | ||||
GFXCard | Picasso IV | ||||
ChipMem | 2 MB | ||||
FastMem | 96 MB | ||||
Workbench | OS 3.1 | ||||
KickROM | 40 - Kick 3.1 | ||||
KickSoft | None | ||||
Summary | 0006459: Provide disk image size in structures or when calling dsk_DiskCode | ||||
Description | I would like to get the size of the disk image when dsk_DiskCode is called, either in a register, by reading a field from a structure or calling a rawdic function. Use case: I have updated the Turbo Outrun imager to support 2 different versions (1 disk US version, 2 disk SPS 1064 version). As I had to use a DOS track to get the checksum for determining the game version but didn't want to add it to the saved disk image, I used the FL_NOFILES flag and save the disk image data in my own dsk_DiskCode custom routine. I found no way to retrieve the size of the disk image, so I had to calculate it manually by using the tracklist as input. Worked well, but is rather inconvenient. Is there any possibility to get the size of the resulting disk image when dsk_DiskCode is called? I didn't find anything but I may have missed something. | ||||
Additional Information | I have attached the imager source which may help to understand the problem better. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | TurboOutrun_ImagerSlave.s (5,452) 2024-04-03 21:42 http://www.whdload.de/mantis/file_download.php?file_id=1743&type=bug |
There are no notes attached to this issue. |
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2024-04-03 21:42 | StingRay | New Issue | |||
2024-04-03 21:42 | StingRay | File Added: TurboOutrun_ImagerSlave.s |