-
Notifications
You must be signed in to change notification settings - Fork 0
/
vdi.cpp
38 lines (29 loc) · 866 Bytes
/
vdi.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/**
@file vdi.cpp
PUNY-80
TRS-80 disk image tool for Linux and other *nix operating systems
Copyright (c) 2024 Stefan Vogt and Shawn Sijnstra
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
See file LICENSE for details.
Based on TRS-80 Virtual Disk Kit by Miguel Dutra and Mike Gore.
*/
//---------------------------------------------------------------------------------
// Virtual Disk Interface
//---------------------------------------------------------------------------------
#include "windows.h"
#include "p80.h"
#include "vdi.h"
CVDI::CVDI()
: m_hFile(NULL), m_dwFlags(0), m_DG()
{
}
CVDI::~CVDI()
{
}
void CVDI::GetDG(VDI_GEOMETRY& DG)
{
DG = m_DG;
}