Skip to content
/ c2net Public

A Wifi C2N-Datasette for Commodore Computers

License

Notifications You must be signed in to change notification settings

cbmuser/c2net

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c2net

A Wifi C2N-Datasette for Commodore Computers

You can transfer your PRG-files using "curl" to your Commodore Computer by local Wifi. It's a first workstage and in development.

curl -T file.prg 192.2.168.100 will send the file to the adapter and will be saved on SD-Card.

curl 192.2.168.100 shows the directory of the SD-Card.

Latest Updates

21.April.2025:

  • NTP-time from ntp.org and reconfigurable UTC Summer- and Wintertime for Central-Europe (UTC+1 or UTC+2).

  • Wifi-Account writeable by file in bootload

  • E²Prom

  • DS1307 RTC

    For setup your Wifi create a file named secret.c2n in a folder /sys/ on your SD-Card. Write in the first line your SSID and Password seperated by a comma. It must be very exact, for example myssid,mypassword and nothing else, no space or enter at the end of the line. The next boot will pick up the account-file, store the data in the E²prom and delete the used file.

    Trouble-Shooting

    Boot goes stuck : Every boot a SD-Card must be in the slot, WLAN reachable and the UDP-Port for NTP open.

    ToDo

    Save

    Faster Load

    Timestamp for SD-Files


Raspberry Pi Pico W (RP2040)


                                        -----
                                Pin  __|     |__
                           GP0  1 )o( )|     |( )o( 40 VBUS     <---- 5V=
                           GP1  2 )o      R      o( 39 VSYS
                           GND  3 )o      A      o( 38 GND      ----- GND
level shifter---WRITE <--- GP2  4 )o      S      o( 37 3_3V_EN          
 (JUMPER)    GND ---/ ---- GP3  5 )o      P      o( 36 3_3V_OUT ----- 3.3V Out
      E²prom/RTC/LCD  <--- SDA  6 )o      B      o( 35 ADC_VREF
      E²prom/RTC/LCD  <--- SCL  7 )o      E      o( 34 GP28
                           GND  8 )o      R      o( 33 GND    
                           GP6  9 )o      R      o( 32 GP27
                           GP7 10 )o      Y      o( 31 GP26
level shifter---SENSE ---> GP8 11 )o             o( 30 RUN   <--- SW-RESET -- GND (RESET)
*)level shifter-MOTOR ---> GP9 12 )o   PI PICO   o( 29 GP22          
                           GND 13 )o             o( 28 GND           
               (READ)x--> GP10 14 )o   -------   o( 27 GP21         
                          GP11 15 )o  |       |  o( 26 GP20
                          GP12 16 )o  |   W   |  o( 25 GP19/SPI  TX  --> Cardreader
                          GP13 17 )o  |       |  o( 24 GP18/SPI CLK  --> Cardreader
                           GND 18 )o   -------   o( 23 GND            
     GND -- SW-READER ->  GP14 19 )o             o( 22 GP17/SPI /CS  --> Cardreader
     GND -- SW-SELECT ->  GP15 20 )o( )       ( )o( 21 GP16/SPI  RX  <-- Cardreader
                                    -------------  
                             
     Motor
     -----
          
  *) CBM Tapeport Pin C3     ---[ 1K resistor ]---|
                                                   >------- level shifter ---- GP9
                         GND ---[ 1K resistor ]---| 


Commodore Cassette Port
     
     
     1  2   3  4  5  6  
     -- --  -- -- -- --
     -- --  -- -- -- --         
     A  B   C  D  E  F
     
     A-1  GND    Ground
     B-2  + 5V   5 Volt DC
     C-3  MOTOR  Motor Control
     D-4  READ   Data Input, read data from datasette
     E-5  WRITE  Data Output, write data to datasette
     F-6  SENSE  Detection, if one of the keys PLAY, RECORD, F.FWD or REW is pressed      

About

A Wifi C2N-Datasette for Commodore Computers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published