home.social

Search

1000 results for “0x0”

  1. (continued)
    How I found the Game Genie codes using FCEUX:
    1) By looking at the CHR ROM, I knew I wanted to use tile 0xd2 instead of 0x0a and 0xd7 instead of 0x0e.
    2) I looked at RAM in Hex Editor. A copy of sprite data was at 0x0700-0x07ff. The cursor was in the 2nd sprite slot, so the tile was at 0x0705.
    3) I set a breakpoint on 0x0705 write in Debugger. It found STA $0701,X. The previous instruction was LDA ($00),Y. Whenever that was run, RAM 0x00 contained 0x98 or 0x9d, RAM 0x01 contained 0xd8 and Y was 1, so a byte was being copied to A from RAM 0xd899 or 0xd89e.
    4) Indeed, during gameplay, CPU address 0xd899 contained 0x0a and 0xd89e contained 0x0e.
    5) I used nesdev.org/nesgg.txt to create the codes:
    - XSOSOEZA = "if the CPU tries to read a PRG ROM address that's currently mapped to CPU 0xd899 and contains 0x0a, return 0xd2 instead".
    - NSOSVETA = same but 0xd89e, 0x0e and 0xd7, respectively.
    #NES #gameHacking #GameGenie

  2. So, it seems that my 2.5 yo Seagate Exos X20 drives are reporting some quite insane read amounts:

    Device Statistics (GP Log 0x04)
    Page Offset Size Value Flags Description
    0x01 ===== = = === == General Statistics (rev 1) ==
    0x01 0x008 4 24 --- Lifetime Power-On Resets
    0x01 0x010 4 22429 --- Power-on Hours
    0x01 0x018 6 76426225523 --- Logical Sectors Written
    0x01 0x020 6 667681744 --- Number of Write Commands
    0x01 0x028 6 48054400526096 --- Logical Sectors Read
    0x01 0x030 6 2915801075 --- Number of Read Commands

    If those numbers would be correct that'd mean the drive would have been reading average 304 MB/s for the whole 2.5 year lifetime. I find this somewhat implausible. The drives max out around 285 MB/s with sequential read.

    Did I hear "But surely Seagate's own openSeaChest drive utilities are better and report the correct values!" from the crowd?

    Here's the relevant part from openSeaChest_Info -i:

    Annualized Workload Rate (TB/yr): 9624.71
    Total Bytes Read (PB): 24.60
    Total Bytes Written (TB): 39.13

    So, equally confused.

    EDIT: Earlier I confused some numbers due to PB vs PiB being so different.

    #Seagate #Exos #datastorage #hardware

  3. So, it seems that my 2.5 yo Seagate Exos X20 drives are reporting some quite insane read amounts:

    Device Statistics (GP Log 0x04)
    Page Offset Size Value Flags Description
    0x01 ===== = = === == General Statistics (rev 1) ==
    0x01 0x008 4 24 --- Lifetime Power-On Resets
    0x01 0x010 4 22429 --- Power-on Hours
    0x01 0x018 6 76426225523 --- Logical Sectors Written
    0x01 0x020 6 667681744 --- Number of Write Commands
    0x01 0x028 6 48054400526096 --- Logical Sectors Read
    0x01 0x030 6 2915801075 --- Number of Read Commands

    If those numbers would be correct that'd mean the drive would have been reading average 304 MB/s for the whole 2.5 year lifetime. I find this somewhat implausible. The drives max out around 285 MB/s with sequential read.

    Did I hear "But surely Seagate's own openSeaChest drive utilities are better and report the correct values!" from the crowd?

    Here's the relevant part from openSeaChest_Info -i:

    Annualized Workload Rate (TB/yr): 9624.71
    Total Bytes Read (PB): 24.60
    Total Bytes Written (TB): 39.13

    So, equally confused.

    EDIT: Earlier I confused some numbers due to PB vs PiB being so different.

    #Seagate #Exos #datastorage #hardware

  4. So, it seems that my 2.5 yo Seagate Exos X20 drives are reporting some quite insane read amounts:

    Device Statistics (GP Log 0x04)
    Page Offset Size Value Flags Description
    0x01 ===== = = === == General Statistics (rev 1) ==
    0x01 0x008 4 24 --- Lifetime Power-On Resets
    0x01 0x010 4 22429 --- Power-on Hours
    0x01 0x018 6 76426225523 --- Logical Sectors Written
    0x01 0x020 6 667681744 --- Number of Write Commands
    0x01 0x028 6 48054400526096 --- Logical Sectors Read
    0x01 0x030 6 2915801075 --- Number of Read Commands

    If those numbers would be correct that'd mean the drive would have been reading average 304 MB/s for the whole 2.5 year lifetime. I find this somewhat implausible. The drives max out around 285 MB/s with sequential read.

    Did I hear "But surely Seagate's own openSeaChest drive utilities are better and report the correct values!" from the crowd?

    Here's the relevant part from openSeaChest_Info -i:

    Annualized Workload Rate (TB/yr): 9624.71
    Total Bytes Read (PB): 24.60
    Total Bytes Written (TB): 39.13

    So, equally confused.

    EDIT: Earlier I confused some numbers due to PB vs PiB being so different.

    #Seagate #Exos #datastorage #hardware

  5. So, it seems that my 2.5 yo Seagate Exos X20 drives are reporting some quite insane read amounts:

    Device Statistics (GP Log 0x04)
    Page Offset Size Value Flags Description
    0x01 ===== = = === == General Statistics (rev 1) ==
    0x01 0x008 4 24 --- Lifetime Power-On Resets
    0x01 0x010 4 22429 --- Power-on Hours
    0x01 0x018 6 76426225523 --- Logical Sectors Written
    0x01 0x020 6 667681744 --- Number of Write Commands
    0x01 0x028 6 48054400526096 --- Logical Sectors Read
    0x01 0x030 6 2915801075 --- Number of Read Commands

    If those numbers would be correct that'd mean the drive would have been reading average 304 MB/s for the whole 2.5 year lifetime. I find this somewhat implausible. The drives max out around 285 MB/s with sequential read.

    Did I hear "But surely Seagate's own openSeaChest drive utilities are better and report the correct values!" from the crowd?

    Here's the relevant part from openSeaChest_Info -i:

    Annualized Workload Rate (TB/yr): 9624.71
    Total Bytes Read (PB): 24.60
    Total Bytes Written (TB): 39.13

    So, equally confused.

    EDIT: Earlier I confused some numbers due to PB vs PiB being so different.

    #Seagate #Exos #datastorage #hardware

  6. @b0rk Not only have I had this situation, I also have the reverse on my OpenBSD box, where pressing backspace inside tmux sends a control+h (0x08), so to actually backspace I need to type control+backspace (0x7F)

    It works fine outside tmux. Gotta get that sorted out at some point. #termcap #terminfo

  7. @b0rk Not only have I had this situation, I also have the reverse on my OpenBSD box, where pressing backspace inside tmux sends a control+h (0x08), so to actually backspace I need to type control+backspace (0x7F)

    It works fine outside tmux. Gotta get that sorted out at some point. #termcap #terminfo

  8. @b0rk Not only have I had this situation, I also have the reverse on my OpenBSD box, where pressing backspace inside tmux sends a control+h (0x08), so to actually backspace I need to type control+backspace (0x7F)

    It works fine outside tmux. Gotta get that sorted out at some point. #termcap #terminfo

  9. @b0rk Not only have I had this situation, I also have the reverse on my OpenBSD box, where pressing backspace inside tmux sends a control+h (0x08), so to actually backspace I need to type control+backspace (0x7F)

    It works fine outside tmux. Gotta get that sorted out at some point. #termcap #terminfo

  10. @b0rk Not only have I had this situation, I also have the reverse on my OpenBSD box, where pressing backspace inside tmux sends a control+h (0x08), so to actually backspace I need to type control+backspace (0x7F)

    It works fine outside tmux. Gotta get that sorted out at some point. #termcap #terminfo

  11. Hello fellow #sysadmins

    Is there a way to tell #smartctl to retrieve/display only a chosen Vendor Specific SMART Attributes?

    I would like to skip the grep part:

    `# smartctl -A /dev/da1 | grep "^231"`
    `231 SSD_Life_Left 0x0000 099 099 000 Old_age Offline - 99`

  12. Hello fellow #sysadmins

    Is there a way to tell #smartctl to retrieve/display only a chosen Vendor Specific SMART Attributes?

    I would like to skip the grep part:

    `# smartctl -A /dev/da1 | grep "^231"`
    `231 SSD_Life_Left 0x0000 099 099 000 Old_age Offline - 99`

  13. Hello fellow #sysadmins

    Is there a way to tell #smartctl to retrieve/display only a chosen Vendor Specific SMART Attributes?

    I would like to skip the grep part:

    `# smartctl -A /dev/da1 | grep "^231"`
    `231 SSD_Life_Left 0x0000 099 099 000 Old_age Offline - 99`

  14. Just tried firmware on my new handwired Dactyl, and I'm not understanding what is going on. The first two columns work as expected:
    KL: kc: 0x0014, col: 0, row: 0, pressed: 1
    KL: kc: 0x0014, col: 0, row: 0, pressed: 0
    KL: kc: 0x001A, col: 1, row: 0, pressed: 1
    KL: kc: 0x001A, col: 1, row: 0, pressed: 0

    But the next 3 columns don't. Nothing is scanned, until I press two at the same time (see picture)

    #AskFedi #mechanicalKeyboard #QMK #rp2040zero

  15. Just tried firmware on my new handwired Dactyl, and I'm not understanding what is going on. The first two columns work as expected:
    KL: kc: 0x0014, col: 0, row: 0, pressed: 1
    KL: kc: 0x0014, col: 0, row: 0, pressed: 0
    KL: kc: 0x001A, col: 1, row: 0, pressed: 1
    KL: kc: 0x001A, col: 1, row: 0, pressed: 0

    But the next 3 columns don't. Nothing is scanned, until I press two at the same time (see picture)

    #AskFedi #mechanicalKeyboard #QMK #rp2040zero

  16. Just tried firmware on my new handwired Dactyl, and I'm not understanding what is going on. The first two columns work as expected:
    KL: kc: 0x0014, col: 0, row: 0, pressed: 1
    KL: kc: 0x0014, col: 0, row: 0, pressed: 0
    KL: kc: 0x001A, col: 1, row: 0, pressed: 1
    KL: kc: 0x001A, col: 1, row: 0, pressed: 0

    But the next 3 columns don't. Nothing is scanned, until I press two at the same time (see picture)

    #AskFedi #mechanicalKeyboard #QMK #rp2040zero

  17. Just tried firmware on my new handwired Dactyl, and I'm not understanding what is going on. The first two columns work as expected:
    KL: kc: 0x0014, col: 0, row: 0, pressed: 1
    KL: kc: 0x0014, col: 0, row: 0, pressed: 0
    KL: kc: 0x001A, col: 1, row: 0, pressed: 1
    KL: kc: 0x001A, col: 1, row: 0, pressed: 0

    But the next 3 columns don't. Nothing is scanned, until I press two at the same time (see picture)

    #AskFedi #mechanicalKeyboard #QMK #rp2040zero

  18. Just tried firmware on my new handwired Dactyl, and I'm not understanding what is going on. The first two columns work as expected:
    KL: kc: 0x0014, col: 0, row: 0, pressed: 1
    KL: kc: 0x0014, col: 0, row: 0, pressed: 0
    KL: kc: 0x001A, col: 1, row: 0, pressed: 1
    KL: kc: 0x001A, col: 1, row: 0, pressed: 0

    But the next 3 columns don't. Nothing is scanned, until I press two at the same time (see picture)

    #AskFedi #mechanicalKeyboard #QMK #rp2040zero

  19. Just in case you're trying to flash a #heltecv3 for #amateurradio #lora #meshcom like I do at the moment and use #linux like I do, here's the command for flashing the files that can be downloaded from icssw.org/heltec-v3-anleitung/ :
    esptool.py write_flash 0x0 bootloader.bin 0xe000 boot_app0.bin 0x8000 partitions.bin 0x10000 firmware-mc-heltec-v3-4.34a.bin
    It took me a bit to figure it out... screen is still dark 🤔

  20. I follow the Floor 796 project for some time, it is basically a ridiculously large animated pixel art fresco by 0x00 depicting a level in a science fiction environment, the electronic version of what in german is called a Wimmelbuch.

    If you want to spend large amounts of time recognising characters, this is for you.

    #sciencefiction #pixelart #animation #Wimmelbuch

    floor796.com/#t4r0,554,513

  21. I follow the Floor 796 project for some time, it is basically a ridiculously large animated pixel art fresco by 0x00 depicting a level in a science fiction environment, the electronic version of what in german is called a Wimmelbuch.

    If you want to spend large amounts of time recognising characters, this is for you.

    #sciencefiction #pixelart #animation #Wimmelbuch

    floor796.com/#t4r0,554,513

  22. I follow the Floor 796 project for some time, it is basically a ridiculously large animated pixel art fresco by 0x00 depicting a level in a science fiction environment, the electronic version of what in german is called a Wimmelbuch.

    If you want to spend large amounts of time recognising characters, this is for you.

    #sciencefiction #pixelart #animation #Wimmelbuch

    floor796.com/#t4r0,554,513

  23. I follow the Floor 796 project for some time, it is basically a ridiculously large animated pixel art fresco by 0x00 depicting a level in a science fiction environment, the electronic version of what in german is called a Wimmelbuch.

    If you want to spend large amounts of time recognising characters, this is for you.

    #sciencefiction #pixelart #animation #Wimmelbuch

    floor796.com/#t4r0,554,513

  24. I follow the Floor 796 project for some time, it is basically a ridiculously large animated pixel art fresco by 0x00 depicting a level in a science fiction environment, the electronic version of what in german is called a Wimmelbuch.

    If you want to spend large amounts of time recognising characters, this is for you.

    #sciencefiction #pixelart #animation #Wimmelbuch

    floor796.com/#t4r0,554,513

  25. 處理 smartctl 回報 Seagate 硬碟的數字資訊

    手上有顆 Seagate 的硬碟,在 smartctl 回報的數字很奇怪,可以看到很高的錯誤值:

    1 Raw_Read_Error_Rate 0x000f 082 053 006 Pre-fail Always - 147309240
    7 Seek_Error_Rat

    blog.gslin.org/archives/2024/1

    #Computer #Hardware #Murmuring #Software #bitwise #data #disk #number #seagate #smart #smartctl

  26. 處理 smartctl 回報 Seagate 硬碟的數字資訊

    手上有顆 Seagate 的硬碟,在 smartctl 回報的數字很奇怪,可以看到很高的錯誤值:

    1 Raw_Read_Error_Rate 0x000f 082 053 006 Pre-fail Always - 147309240
    7 Seek_Error_Rat

    blog.gslin.org/archives/2024/1

    #Computer #Hardware #Murmuring #Software #bitwise #data #disk #number #seagate #smart #smartctl

  27. 處理 smartctl 回報 Seagate 硬碟的數字資訊

    手上有顆 Seagate 的硬碟,在 smartctl 回報的數字很奇怪,可以看到很高的錯誤值:

    1 Raw_Read_Error_Rate 0x000f 082 053 006 Pre-fail Always - 147309240
    7 Seek_Error_Rat

    blog.gslin.org/archives/2024/1

    #Computer #Hardware #Murmuring #Software #bitwise #data #disk #number #seagate #smart #smartctl

  28. 處理 smartctl 回報 Seagate 硬碟的數字資訊

    手上有顆 Seagate 的硬碟,在 smartctl 回報的數字很奇怪,可以看到很高的錯誤值:

    1 Raw_Read_Error_Rate 0x000f 082 053 006 Pre-fail Always - 147309240
    7 Seek_Error_Rat

    blog.gslin.org/archives/2024/1

    #Computer #Hardware #Murmuring #Software #bitwise #data #disk #number #seagate #smart #smartctl