|
|
@ -27,7 +27,7 @@ public class DriveEntity extends Peripheral{
|
|
|
|
public DriveEntity(BlockPos pos, BlockState state) {
|
|
|
|
public DriveEntity(BlockPos pos, BlockState state) {
|
|
|
|
super(RedControl.DRIVE_BLOCK_ENTITY, pos, state, 2);
|
|
|
|
super(RedControl.DRIVE_BLOCK_ENTITY, pos, state, 2);
|
|
|
|
|
|
|
|
|
|
|
|
this.driver = new ByteDiskDriver(RedControl.images.get("redforth.img"), "Forth", "FORTH");
|
|
|
|
this.driver = new ByteDiskDriver(RedControl.images.get("basic.img"), "Forth", "FORTH");
|
|
|
|
this.buffer = ByteBuffer.allocateDirect(SECTOR_SIZE);
|
|
|
|
this.buffer = ByteBuffer.allocateDirect(SECTOR_SIZE);
|
|
|
|
byte[] name = driver.getDriveName();
|
|
|
|
byte[] name = driver.getDriveName();
|
|
|
|
byte[] serial = driver.getDriveSerial();
|
|
|
|
byte[] serial = driver.getDriveSerial();
|
|
|
|