User Tools

Site Tools


base:detecting_sid_type_-_safe_method

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
base:detecting_sid_type_-_safe_method [2015-06-13 08:07] molochbase:detecting_sid_type_-_safe_method [2022-05-19 10:58] (current) ftc
Line 11: Line 11:
   
  ; - Don't run this routine on a badline  ; - Don't run this routine on a badline
- ; - Won't work in VICE (always detects 6581) unless resid-fp emulation is enabled 
   
  sei ;No disturbing interrupts  sei ;No disturbing interrupts
Line 20: Line 19:
  ;Detection itself starts here   ;Detection itself starts here
  lda #$ff ;Set frequency in voice 3 to $ffff   lda #$ff ;Set frequency in voice 3 to $ffff 
- sta $d412 ;...and set testbit (other bits doesn't matter) in $d012 to disable oscillator+ sta $d412 ;...and set testbit (other bits don't matter) in VCREG3 ($d412) to disable oscillator
  sta $d40e  sta $d40e
  sta $d40f  sta $d40f
base/detecting_sid_type_-_safe_method.1434175642.txt.gz · Last modified: 2015-06-13 08:07 by moloch