Class: Badline::KernalTrap::File
- Inherits:
-
Object
- Object
- Badline::KernalTrap::File
- Includes:
- IntegerHelper
- Defined in:
- lib/badline/kernal_trap/file.rb
Constant Summary collapse
- DEVICE =
8- MISSING_FILENAME =
0x08
Instance Method Summary collapse
-
#initialize(cpu:, bus:, storage:) ⇒ File
constructor
A new instance of File.
Methods included from IntegerHelper
#bcd, #bcd_to_i, #format16, #format8, #high_byte, #low_byte, #signed_int8, #uint16
Constructor Details
#initialize(cpu:, bus:, storage:) ⇒ File
Returns a new instance of File.
12 13 14 15 16 |
# File 'lib/badline/kernal_trap/file.rb', line 12 def initialize(cpu:, bus:, storage:) @cpu = cpu @bus = bus @storage = storage end |