background image

Do not press any key on the VIC-20's keyboard while loading as the keyboard of the VIC-20 shares
IO-lines with the Cassetteport.

Memory expansion modules may be used but require some  knowledge of the VIC-20's memory
layout, for more info see the next page. To get an idea of your current memory configuration, the
Cassiopei menu shows the BASIC start address and the available memory blocks.

Important note about the loading address of your games/programs:

The VIC-20 can have many different memory configurations. And these configurations affect the
value of the BASIC start address. It is preferred to load programs only with the start address as
indicated by the file  itself  unless  absolutely  certain  that the file  is  a  pure BASIC file.  Because
Commodore allows BASIC files to be reloaded automatically to the correct memory area.

Basically   there   are   3   types   of   memory   configurations.   Unexpanded,   3K   expanded   and   8K+
expanded. All three situations affect the VIC-20's BASIC start address. Normally  the user could
order the VIC-20 to allow relocation of basic  programs by giving  some  extra information in the
LOAD command. For instance LOAD””,1,1 or LOAD””,1,0 (please refer to you VIC-20 manual
for   more   information   about   the   details,   there   is   no   reason   to   really   explain   here   because   the
Cassiopei do not require these commands (when using the fast loading mode)). These commands
however could be of use in the Cassiopei slow loading modes, but this method of loading is not to
be preferred or really required. 

The Cassiopei fastloader is an intelligent loader and can figure out by itself where the file should be
stored in memory, so all you need to do is type LOAD and nothing more. It can't be easier, can it?
This is possible because the Cassiopei can detect if the file to be loaded is a BASIC program or not.
When the Cassiopei detects that the file  to be loaded is a BASIC file,  it will load the file  to the
current BASIC start location.

Now how does the Cassiopei know if a file is a BASIC or a machine code program. Well, BASIC
programs on a VIC-20 (or machine  code programs that have a basic stub to start it), will load to
address $0401, $1001 or $1201, therefore if the address in the file has one of these 3 addresses then
that  must  be   a  BASIC  file  and  relocation  to the  current  BASIC  start   of the  VIC-20  might  be
required.

When the address in the file is a different address then one of the above, the file is considered to be
non-BASIC and will be loaded to the address as specified in the file. Therefore if you want to write
your own machine language (a.k.a. assembly) program, then make sure that it does not start at one
of the addresses as mentioned above, otherwise it will be treated as a BASIC program and might
therefore   be   loaded   to   an   unexpected   memory   location.   Unless   you   implement   a   relocation
algorithm as shown on the next pages. Which would be the best thing to do, because then the user
can   start   a   program  with   a  RUN   command  instead   of a   SYS   command,   however   this   is   only
possible  for  relatively  small  programs.  An  example  of such  a small  program are  the Cassiopei
fastloader and the Cassiopei menu program, which works on all memory configurations of the VIC-
20 and still can be started with a simple RUN command.

The  only  real  problem  lies  in  hybrid  programs,  machine  code  programs  that  have  a basic  start
address caused by the basic  stub. A simple  basic  line  that allow the program to start with RUN
instead of SYS <something>.

And when you attempt to load a machine code program intended for a 3K expanded machine into a
8K+  expanded  machine  (or any  other  configuration),  it  will  not  work. Because  the  program is
treated as a basic program and the machine code is then accidentally stored to the wrong memory
area, causing it to crash the machine when you type RUN.

2019-10-27

Page 34 of 76

CASSIOPEI v2.0

Содержание CASSIOPEI

Страница 1: ...CASSIOPEIv2 0 USER MANUAL this manual is intended for firmware version V20191027 or higher...

Страница 2: ...odore computers do not have an IEC bus That device was the Cassiopei It was a very successful project I learned a lot from it mostly about the history of the technology inside the Commodore computers...

Страница 3: ...4 4 1 File manager 25 4 2 Settings 26 4 3 Info 27 5 Cassiopei menu program 28 5 1 Starting the menu program 28 6 Using PRG files 30 7 Using TAP files 31 7 1 Swapping flipping the tape change TAP file...

Страница 4: ...ction 65 11 Virtual file mode 67 11 1 Cross development 69 12 Compatibility of the Cassiopei 70 13 Upgrading the Cassiopei s firmware 71 13 1 FW Update through webinterface 71 13 2 FW Update through S...

Страница 5: ...imply removing the card and inserting it in a normal card reader The Cassiopei is also great for cross development due to it s quick and easy transfer of data to your CBM computer This functionality i...

Страница 6: ...ngs are configured and functional as the IP address released for the Cassiopei by the network is shown The values are shown with trailing zeroes to keep the alignment a little easier these zeroes do n...

Страница 7: ...to it s progress so that you know when to stop the recording then you must set the switch in this position Lower position of the switch is called R When the switch is in this position the speaker will...

Страница 8: ...other cassetteport Placing the Cassiopei on your internal cassetteport isn t very convinient as it requires you to constantly lift the top of your PET in order to press a button on the Cassiopei Also...

Страница 9: ...siopei from dangling in mid air while being connected to your computers cassetteport The stand firmly touches the table and therefore creates a solid and stable situation allowing you to safely use yo...

Страница 10: ...on from being one of the first 10 people of owing this great device These frontplate changes were made because the filled style text is to be expected to be more durable but also the make it more stan...

Страница 11: ...n such a network environment This because WPA2 is the most modern and secure method of security protocol as supported by the Cassiopei 1 6 2 Hidden networks Networks that do not broadcast their name a...

Страница 12: ...transfers files for cross development It can also be used for uploading new firmware into the device The network settings like SSID and KEY cannot be changed through the menu it requires removal of t...

Страница 13: ...or you as long as you use the menu program to load your program If you would load your program directly by pressing the PLAY button after giving the LOAD command then the menu program isn t started an...

Страница 14: ...in seconds 3600 is UTC 1 But when you also use daylight savings time then you need to add an extra hour 3600 seconds This means that the required timezone settings should be 3600 3600 7200 TIMEZONE 72...

Страница 15: ...mage back into a real disk Below is how the driver or autoexec file looks like on your GEOS system When this file is on your GEOS bootdisk it will be stated automatically upon booting of GEOS So in or...

Страница 16: ...t determines the timing for the TAP file playback and for the loading of the fastloader program 2 4 Operating modes menu item Mode The Cassiopei is more then a TAP file player or cassette emulator It...

Страница 17: ...file selection You may navigate through this menu with the three buttons next to the display Play button moves the cursor up Menu button select the item under the cursor Sett button moves the cursor...

Страница 18: ...he folder _system_ and is named SETTINGS TXT Cassiopei settings file WIFI 1 Enable wifi 0 OFF 1 ON ATTENTION HOSTNAME SSID and KEY value may NOT exceed 32 characters HOSTNAME CASSIOPEI SSID_1 MYPERSON...

Страница 19: ...can be on a network or just to personalize the device the hostname text can be changed In the settings file in an entry called HOSTNAME you may change the default text CASSIOPEI into anything you like...

Страница 20: ...the SD card a little easier This SD card has to be properly configured with the right folders and the right files The Cassiopei uses an SD card that must be formatted according to the FAT 16 which is...

Страница 21: ...nd move them back to the folder on the SD card The computer will copy alphabetically and therefore store the files in the correct order on the filesystem Making it look like you want However keep in m...

Страница 22: ...programs here TAP TAP tape image store your tape images here Optional folders are D64 and PETSCII_VIDEO folders In these folders specific application related files can be stored D64 files for disk bac...

Страница 23: ...ut a little and it can be grabbed and removed using the tweezer Gently push the SD card then pull it out using a tweezer Tip two By attaching some tape to the side of the SD card a custom pulling tab...

Страница 24: ...ll attempt to login onto your wifi network every time it is switched on or reset When this is successful the Cassiopei will show the IP address on the display Go to the IP address by typing it into th...

Страница 25: ...USB card reader Below you ll see the file manager when you click onto the of each folder it will unfold and show the contents Then you may click onto a file and download or delete that file from the c...

Страница 26: ...fore not the preferred method for quickly changing the current file or computer model Use the buttons at the bottom of the screen for navigation through the menu In order to save any changed settings...

Страница 27: ...to upload new firmware into the Cassiopei This is a feature that might come in handy when there is a new firmware version available firmware binaries can be found on the Cassiopei website Firmware upd...

Страница 28: ...ing the menu program Starting loading the Cassiopei menu program into your CBM computer Type LOAD When stated press play on tape press the Menu button on the Cassiopei The menu program will appear wit...

Страница 29: ...a C16 to a C64 VIC20 or any other Commodore computer model Therefore changing the computermodel settings using the menu on a CBM computer is not recommended And in some cases it is identical to sawin...

Страница 30: ...the Cassiopei wait a few seconds before the menu program is loaded and starts But you could also use the webinterface or the menu on the Cassiopei display itself just press the Sett button to enter th...

Страница 31: ...our SD card The path then would be C64 TAP GAMES PACMAN TAP Configure the Cassiopei for the use of TAP files You can do this using the menu program on your CBM computer type LOAD on the CBM when the c...

Страница 32: ...nge TAP file during playback When you are in a TAP file game and you must change to a different TAP file simply because the TAP images of the game you are playing is split up into 2 different TAP file...

Страница 33: ...program to define your new settings The Cassiopei menu program is to be used for selecting the file and or changing the configuration of the Cassiopei Navigating through the menu is possible using th...

Страница 34: ...hen the Cassiopei detects that the file to be loaded is a BASIC file it will load the file to the current BASIC start location Now how does the Cassiopei know if a file is a BASIC or a machine code pr...

Страница 35: ...instead or removing the cartridge a simple set of pokes is enough to achieve this POKE642 16 POKE644 30 SYS64818 A problem with loading files are most likely to be caused by an incorrect setup of the...

Страница 36: ...Screen 1E00 Color 9600 can be disabled by typing POKE642 16 POKE644 30 SYS64818 VIC 20 3K super expander VIC 20 8K expanded BASIC 0401 Screen 1E00 Color 9600 BASIC 1201 Screen 1000 Color 9400 VIC 20...

Страница 37: ...machine language program it will not start at one of these 3 locations If the program is a hybrid program a machine language program that begins with a BASIC stub then it will be relocated But for th...

Страница 38: ...s any STA SOURCE_ADR 1 CLV clear flag here to keep the loop fast LDY 00 clear reg here keeps the loop fast RELOCATE_LP LDA SOURCE_ADR Y the actual moving of the program the copy loop STA DEST_ADR Y LD...

Страница 39: ...e currently selected game program press the MENU button in order to load the menu program to define your new settings The Cassiopei menu program is to be used for selecting the file when usage of the...

Страница 40: ...s operating mode LOAD return The computer will now ask you to press play on tape press the PLAY button on the Cassiopei to load the currently selected game program press the MENU button in order to l...

Страница 41: ...demonstrates the C128D plastic version require the use of an additional stand You can attach this by removing the back cover of the Cassiopei and then slide the stand gently over the cassetteport con...

Страница 42: ...s not possible or desired Navigating through the menu is possible using the keyboard or by moving the joystick port 1 or 2 up down and fire to select When you press the return key or move the joystick...

Страница 43: ...ei connects to the cassetteport at the rear which is cassetteport 2 This model requires the use of an additional stand You can attach this by removing the back cover of the Cassiopei and then slide th...

Страница 44: ...range problems is to use the slow kernal loader use the mode named slow in the menu program Note The Cassiopei uses a part of the stack and the cassettebuffer 1 to store the fastloader routines Some p...

Страница 45: ...sen in the settings screen Soon after the release of the 2000 series Commodore came with the 3000 series which is very similar to the 2000 series that have no build in tape drive In fact they are so s...

Страница 46: ...art the loaded program Note When a program is loaded using the Cassiopei s fastloader the program is executed directly after it has finished loading However TAP files do no use the Cassiopei s fastloa...

Страница 47: ...ot attempt to use the Cassiopei while it is not configured The Cassiopei s requires the following sequence of commands independent of it s operating mode Be aware that there are differences between th...

Страница 48: ...of the times entering the RUN command again will start the loaded program without any problems In those occasions it would have been better to use a SYS command to start the fastloader routines So in...

Страница 49: ...f the computer where cassetteport 2 is located on the side Although the cassiopei could perfectly function on both cassetteports there are some considerations to be taken into account Cassetteport 1 i...

Страница 50: ...it in combination with the Cassiopei When the Cassiopei is connected to cassetteport 1 type LOAD return When the Cassiopei is connected to cassetteport 2 type LOAD 2 return The computer will now ask y...

Страница 51: ...f ROMs around for these machines Early ones apparently contained the code to run the cassette port though this was dropped to make room for the IPC code to interface with the second processor Any atte...

Страница 52: ...unctionality and that is by doing nothing more then simply using it Type a simple basic program on your CBM for example 10 PRINT TESTING THE DATASETTE 20 GOTO 10 Then save this program by typing the c...

Страница 53: ...ey were going to make two more Really old tapes most certainly won t have this marking newer tapes might have this marking but most likely won t as it is not a big selling point when laying on the she...

Страница 54: ...use if it isn t then the tape drifts across or away from the head during playback and it will be very hard to get a good signal that way In some cases you can replace the presure pad by using one from...

Страница 55: ...re winding One of the most common problems with the datasette and any other kind of tape drive used for home computing in the 80 s is tapehead alignment also referred to as azimuth Make sure that you...

Страница 56: ...h a perfectly constant speed which is just the way we need it to be in order for it to act as a reference Tip sometimes many times they can t loose belts can be revived shrunk Take a pan add 200ml of...

Страница 57: ...out in a nice circle that measured 78mm Now these measurement may be a little bit inaccurate considering that it is a material that stretches easily but choose the belt that is closest to you re meas...

Страница 58: ...en the pinch roller a littlebit some fine sandpaper can do the trick While doing this make sure you ll sand the surface evenly because you don t want any flat spots Therefore this should only be tried...

Страница 59: ...ong as there is dirt coming of the tapehead Don t forget to use new cotton swaps when they are becoming dirty you don t want to spread the dirt over the head you want to remove it Don t forget to clea...

Страница 60: ...n send their data more quickly However these smaller pulses simply mean higher audio frequencies and that is when the importance of a perfect azimuth becomes clear Because if your tapehead isn t prope...

Страница 61: ...which could be a bit unpractical The story behind the program recorder justage according to people on CSDB goes as follows Recorder justage by Harald Diebek from Input64 06 1985 Harald owned a compute...

Страница 62: ......

Страница 63: ...e Select the calibrate item and press play on tape The waterfall will move as long as data is being received When you press the stop button on the datasette the Cassiopei will return to the menu scree...

Страница 64: ...n emulator to make sure it does not contain errors 9 6 Restore a tape When you have a favorite game and it is stored on tape then you can relive the retro feeling to the max But if you don t you can a...

Страница 65: ...power supply can t deliver the power your system is requiring Perhaps you have too much peripherals connected to your system for example large external memory or cartridges It might also be the case t...

Страница 66: ...hy would anyone want to disable this audible alarm functionality Well let s say that you have a computer that works fine but for some reason the overvoltage detection trips and the alarm sounds And yo...

Страница 67: ...er and requests the file virtual prg Which is then loaded through HTTP into the CBM In order to make this work you need a program to act like a local webserver The program HFS is a very simple program...

Страница 68: ...global IP address and this is not what we want Using the local IP address might cause some problems eventually because most routers will try to change this value everyday when starting or rebooting y...

Страница 69: ......

Страница 70: ...easier to control on the non PET computers and therefore requires less code Jiffy DOS The Cassiopei is not compatible with JiffyDOS equipped computers This because Jiffy DOS disables the use of the c...

Страница 71: ...ware version until the system is reset or switched off There are three methods to program new firmware into the Cassiopei the first is over the serial port which is available through the expansion con...

Страница 72: ...to the fw update location be aware of the fact that the IP addres you require is supplied by your wifi router and is most likely to be a different value then in this example therefore check the displa...

Страница 73: ...g the upgrade procedure In some occasion the upgrading procedure will fail this may have been caused by packet loss during the file transfer This may be the case if there is some heavy traffic on the...

Страница 74: ...ortunately these animations are without sound simply because the limited throughput of the cassetteport Below you see a screenshot of the CBM PETSCII video converter program This program converts a re...

Страница 75: ...based BBS or a simple ASCII based BBS For example the borderline BBS borderlinebbs dyndns org 6400 Below 2 screenshots of the BBS terminal connected to the borderline BBS The BBS terminal is very sim...

Страница 76: ...ames sec and audio of 4bit at a sample rate of 12KHz Although this doesn t seem like much today it is revolutionary for this system Under development is software to convert regular videos into VIC20 f...

Отзывы: