VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "FSFD RESET"
   ClientHeight    =   2985
   ClientLeft      =   165
   ClientTop       =   735
   ClientWidth     =   5880
   Icon            =   "frmFSFD_reset.frx":0000
   LinkTopic       =   "Form1"
   MaxButton       =   0   'False
   MinButton       =   0   'False
   ScaleHeight     =   2985
   ScaleWidth      =   5880
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command3 
      Caption         =   "Exit"
      Height          =   375
      Left            =   4440
      TabIndex        =   3
      Top             =   2280
      Width           =   1335
   End
   Begin VB.CommandButton Command2 
      Caption         =   "File Info"
      Height          =   375
      Left            =   1800
      TabIndex        =   1
      Top             =   2280
      Width           =   1335
   End
   Begin VB.CommandButton Command1 
      Caption         =   "FS Info"
      Height          =   375
      Left            =   120
      TabIndex        =   0
      Top             =   2280
      Width           =   1455
   End
   Begin VB.Label Label1 
      Height          =   1695
      Left            =   120
      TabIndex        =   2
      Top             =   240
      Width           =   5535
   End
   Begin VB.Menu fsfdImage 
      Caption         =   "FS FD Image"
      Begin VB.Menu fsfdNewImage 
         Caption         =   "New FS FD Image"
      End
      Begin VB.Menu fsfdOpenImage 
         Caption         =   "Open FS FD Image"
      End
      Begin VB.Menu fsfdSaveImage 
         Caption         =   "Save FS FD Image"
      End
      Begin VB.Menu fsfdSeparator 
         Caption         =   "-"
      End
      Begin VB.Menu fdfdExit 
         Caption         =   "Exit"
      End
   End
   Begin VB.Menu WinFile 
      Caption         =   "Windows File"
      Begin VB.Menu WinOpenFile 
         Caption         =   "Open Windows File"
      End
      Begin VB.Menu WinSaveFile 
         Caption         =   "Save as Windows File"
      End
   End
   Begin VB.Menu fsFile 
      Caption         =   "FS File"
      Begin VB.Menu fsOpenFile 
         Caption         =   "Open FS File"
      End
      Begin VB.Menu fsSaveFile 
         Caption         =   "Save as FS File"
      End
      Begin VB.Menu fsSaveStartupFile 
         Caption         =   "Save as FS Startup File"
      End
      Begin VB.Menu fsDeleteFile 
         Caption         =   "Delete FS File"
      End
      Begin VB.Menu fsMoveFile 
         Caption         =   "Move Fs File"
      End
   End
   Begin VB.Menu fsDir 
      Caption         =   "FS Directory"
      Begin VB.Menu fsChDir 
         Caption         =   "Change FS Directory"
      End
      Begin VB.Menu fsMkDir 
         Caption         =   "Make FS Directory"
      End
      Begin VB.Menu fsRmDir 
         Caption         =   "Delete FS Directory"
      End
      Begin VB.Menu fsMvDir 
         Caption         =   "Move FS Directory"
      End
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim FNum As Integer
Dim FL As Long
Dim F2Num As Integer
Dim X As Integer
Dim Y As Byte
Dim L As Integer
Dim T As Long
Dim R As String * 1
Dim Satir As String

Private Sub Command3_Click()
End
End Sub

Private Sub Form_Load()
If Dir("D:\Erdogan\fs_basic\fsfd_bs.bin") = "fsfd_bs.bin" Then
   FNum = FreeFile
   Open "D:\Erdogan\fs_basic\fsfd_bs.bin" For Random As FNum Len = 1
   FL = FileLen("D:\Erdogan\fs_basic\fsfd_bs.bin")
   F2Num = FreeFile
   Open "D:\Erdogan\fs_basic\fsfd_bootsector.txt" For Random As F2Num Len = 1
   For X = 1 To FL
       Get FNum, X, Y
       If X = 1 Then MsgBox (Y)
       Satir = "BS(" + CStr(X - 1) + ")= &H" + Hex(Y) + Chr$(13) + Chr$(10)
       For L = 1 To Len(Satir)
           R = Mid(Satir, L, 1)
           T = T + 1
           Put F2Num, T, R
       Next L
   Next X
   Close F2Num
   Close FNum
   End If
End Sub
