<commit_before>package ucesoft.cbm.peripheral.drive

import ucesoft.cbm.peripheral.bus.IECBusListener
import ucesoft.cbm.ChipID
import ucesoft.cbm.peripheral.bus.IECBus
import ucesoft.cbm.peripheral.bus.IECBusLine
import ucesoft.cbm.Log
import ucesoft.cbm.Clock
import java.io.ObjectOutputStream
import java.io.ObjectInputStream

class VIAIECBus(driveID:Int,
				bus:IECBus,
				irqAction:(Boolean) => Unit,atnOn: () => Unit) extends VIA("VIA_IECBus" + driveID,0x1800,irqAction) with IECBusListener {
  override lazy val componentID = "VIA1 (Bus)"
  val busid = name
  private[this] val IDJACK = driveID & 0x03
  //private[this] var data_out = IECBus.VOLTAGE
  private[this] var driveEnabled = true
  
  bus.registerListener(this)
  if (driveID == 0) ParallelCable.pcCallback = onCB1 _
  
  override def reset {
    super.reset
    //data_out = IECBus.VOLTAGE<commit_msg>removed unused imports<commit_after>package ucesoft.cbm.peripheral.drive

import ucesoft.cbm.peripheral.bus.IECBusListener
import ucesoft.cbm.ChipID
import ucesoft.cbm.peripheral.bus.IECBus
import ucesoft.cbm.peripheral.bus.IECBusLine
import java.io.ObjectOutputStream
import java.io.ObjectInputStream

class VIAIECBus(driveID:Int,
				bus:IECBus,
				irqAction:(Boolean) => Unit,atnOn: () => Unit) extends VIA("VIA_IECBus" + driveID,0x1800,irqAction) with IECBusListener {
  override lazy val componentID = "VIA1 (Bus)"
  val busid = name
  private[this] val IDJACK = driveID & 0x03
  //private[this] var data_out = IECBus.VOLTAGE
  private[this] var driveEnabled = true
  
  bus.registerListener(this)
  if (driveID == 0) ParallelCable.pcCallback = onCB1 _
  
  override def reset {
    super.reset
    //data_out = IECBus.VOLTAGE
{'fraction_non_alphanumeric': 0.09982384028185555, 'fraction_numerical': 0.012918379330593071, 'mean_word_length': 4.698996655518394, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6644153', 'n_tokens_mistral': 653, 'n_tokens_neox': 617, 'n_words': 123}