Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Operator`s Side/Lifeline - os.fat/os.snp

Featured Replies

  • Author
  • Localization

AnonBaiter, posted Sun May 14, 2017 10:12 pm (23221)


So, I get to write this script:
Code:
open FDDE "fat" 0
open FDDE "snp" 1

idstring "\x20fat"
get DUMMY01 long
get DUMMY02 long

goto 0x80

set NAME string ""
set PATH string ""
callfunction EXTRACT 1

startfunction EXTRACT
   string PATH NAME
   string PATH /
   for i = 0 < DUMMY02
      getdstring NAME 0x10
      get SIZE long
      get DUMMY04 long
      get OFFSET long
      get DUMMY06 long
      get TYPE long
      get PREVDIR long
      get DUMMY09 long
      get CURRDIR long
      math PREVDIR / 40
      math DUMMY09 / 40
      math CURRDIR / 40
      putarray 0 i PREVDIR
      putarray 1 i DUMMY09
      putarray 2 i CURRDIR
      if TYPE == 0x10
         math OFFSET * 0x800
         callfunction EXTRACT 1
      else
         math OFFSET * 0x800
         string NAME p= "%s%s" PATH NAME
         log NAME OFFSET SIZE 1
      endif
   next i
endfunction EXTRACT
...and because this is my first time writing a script based on a nested archive structure, turns out I`m just not that good.

Here is a sample.
  • Author
  • Localization

AnonBaiter, posted Mon May 15, 2017 5:14 pm (23243)


At least it was one of the easiest.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.