Search found 1454 matches
- 25 Mar 2022 15:32
- Forum: Feature and Enhancement Requests
- Topic: Data inspector: .net decimal type
- Replies: 15
- Views: 19883
Re: Data inspector: .net decimal type
Divison by 10 is necessary to convert the integer to a sequence of characters that can be displayed as a string. There is no IntToStr for UInt96. I mostly understood the algorithm now, just trying to understand how the error correction works in the last step. When I did I should be able to adapt it ...
- 24 Mar 2022 19:26
- Forum: Bug Reports
- Topic: Not a bug: Notepad issue, was: Strange behaviour of letters with accents
- Replies: 3
- Views: 8486
Re: Strange behaviour of letters with accents
Thanks for the report. What are the exact steps to reproduce this error? Usually HxD saves the byte sequence you see directly, and the conversion from text to bytes is done immediately, while pressing the key/key combo. Unless you export it to the clipboard or some of the export file formats, this s...
- 24 Mar 2022 19:23
- Forum: Feature and Enhancement Requests
- Topic: Data inspector: .net decimal type
- Replies: 15
- Views: 19883
Re: Data inspector: .net decimal type
Much clearer version of the divide by 10 code:
https://hackaday.com/2020/06/12/binary- ... aint-easy/
https://hackaday.com/2020/06/12/binary- ... aint-easy/
- 24 Mar 2022 18:27
- Forum: Feature and Enhancement Requests
- Topic: Data inspector: .net decimal type
- Replies: 15
- Views: 19883
Re: Data inspector: .net decimal type
Upon more exact inspection it turns out the shift/add based division solution only works for 32 bit integers, and I first need to understand this better to make it work with wider integers.
- 24 Mar 2022 15:04
- Forum: Feature and Enhancement Requests
- Topic: Data inspector: .net decimal type
- Replies: 15
- Views: 19883
Re: Data inspector: .net decimal type
I started to make a 96bit integer implementation using assembler. Since it's just for adding and subtractng, the amount of assembler is not too much. The major reason is that it would be a pitty to round a purposefully precision datatype. It needs more testing and checking, but the basic approach wo...
- 21 Mar 2022 12:57
- Forum: Feature and Enhancement Requests
- Topic: Data inspector: .net decimal type
- Replies: 15
- Views: 19883
Re: Data inspector: .net decimal type
It's not only speed but complexity of the algorithm. Using assembler is actually a bit easier in this case, since additions with carry exist (which allows to chain several 32-bit additions).
Still an implementation that needs quite some dev time.
Still an implementation that needs quite some dev time.
- 21 Mar 2022 06:11
- Forum: Feature and Enhancement Requests
- Topic: Data inspector: .net decimal type
- Replies: 15
- Views: 19883
Re: Data inspector: .net decimal type
After reading through it a bit, it's possible, but non-trivial, since I need to add support for handling a 96-bit integer division by 10 and multiplication by 10, while 96-bit integers are not supported on 32-bit architectures (nor 128-bit integers). Then handing over this sequence of generated deci...
- 21 Mar 2022 05:29
- Forum: Feature and Enhancement Requests
- Topic: Data inspector: .net decimal type
- Replies: 15
- Views: 19883
Re: Data inspector: .net decimal type
The link doesn't load currently, but I found another one that is quite useful, especially for an implementation in Delphi: http://rvelthuis.de/programs/decimals.html Delphi has a related datatype called Currency, which is a fixed-point datatype: https://docwiki.embarcadero.com/Libraries/Alexandria/e...
- 11 Feb 2022 00:06
- Forum: Bug Reports
- Topic: Audio CDs cannot be read (as a stream of raw sectors)
- Replies: 12
- Views: 28152
Re: Can't open CD even as administrator
I would have to extend HxD to read audio CDs in raw mode, and what I was suggesting is that there should be programs that do just that. Afterwards you could use file compare or any other tool, to compare the results. Be aware though that reading audio CDs raw and WAV files are not exactly the same, ...
- 10 Feb 2022 23:26
- Forum: Feature and Enhancement Requests
- Topic: Real6 (48 bit) Turbo Pascal Datatype
- Replies: 1
- Views: 9344
Re: Real6 (48 bit) Turbo Pascal Datatype
Ok, added in devel version as Real48.
- 10 Feb 2022 21:56
- Forum: Bug Reports
- Topic: Audio CDs cannot be read (as a stream of raw sectors)
- Replies: 12
- Views: 28152
Re: Can't open CD even as administrator
I think, but I am not entirely sure, you'd have to test it out and experiment a bit. There should be a method to determine that size with a function, possibly: IOCTL_CDROM_GET_DRIVE_GEOMETRY_EX, but that likely returns only the logical sector size, not the one for audio CDs. In the doc for IOCTL_CDR...
- 10 Feb 2022 01:16
- Forum: Bug Reports
- Topic: Audio CDs cannot be read (as a stream of raw sectors)
- Replies: 12
- Views: 28152
- 09 Feb 2022 19:19
- Forum: Bug Reports
- Topic: Audio CDs cannot be read (as a stream of raw sectors)
- Replies: 12
- Views: 28152
Re: Can't open CD even as administrator
Another issue with audio CDs is that there are several corrections applied to them, such as jitter correction, and other error correction applied automatically, which can vary from drive to drive. As opposed to data CDs it's hard to get an exact copy of the raw data on the disk.
- 09 Feb 2022 19:12
- Forum: Bug Reports
- Topic: Audio CDs cannot be read (as a stream of raw sectors)
- Replies: 12
- Views: 28152
Re: Can't open CD even as administrator
If you are a programmer, you can try this: https://www.codeproject.com/Articles/15725/Tutorial-on-reading-Audio-CDs https://www.codeproject.com/Articles/5458/C-Sharp-Ripper As far as I know you can't read audio CDs by random access (which is necessary for HxD), at least not by seeking to individual ...
- 09 Feb 2022 18:35
- Forum: Bug Reports
- Topic: Audio CDs cannot be read (as a stream of raw sectors)
- Replies: 12
- Views: 28152
Re: Can't open CD even as administrator
I don't have any audio CD available right now. But as far as I remember audio CDs cannot be read like data CDs under WinNT. So the likely reason is that determining the size of the CD fails. Ripping audio CDs usually requires special software, as they are usually not sector based. Well they are, but...