Turbo Chameleon 64 Draft Version! (BETA-9)

Total Page:16

File Type:pdf, Size:1020Kb

Turbo Chameleon 64 Draft Version! (BETA-9) Turbo Chameleon 64 VGA, turbo, freezer and memory expansion for the Commodore-64 The Programmers Manual Peter Wendrich [email protected] February 11, 2014 Draft version! (BETA-9) 1 Contents 1 Introducing the Chameleon core 5 1.1 Turbo Chameleon Cartridge for the C64 . .5 1.2 Standalone Mode . .5 1.3 Docking Station . .5 2 Configuration Mode 5 2.1 Detecting a Chameleon . .5 2.2 Activating Configuration Mode . .6 2.3 Reconfigure the FPGA core . .6 2.4 Force menu mode . .6 2.5 Force reset from software . .6 3 Core version information 6 3.1 Version Registers . .7 4 Memory 7 4.1 Allocated memory ranges . .7 4.1.1 32 MByte Layout . .7 4.2 MMU Registers . .8 4.3 Memory Overlays (6510 CPU) . 10 5 Buttons 10 5.1 Buttons Configuration Register . 11 5.2 Last Button Pressed . 11 6 VGA Output 11 6.1 VGA Sync . 11 6.2 Frame buffers . 12 6.3 Scaling modes . 12 6.4 Scanline emulation . 12 6.5 VGA Registers . 13 6.6 Palette Registers . 14 6.7 Fixed Palette Entries . 14 7 VGA Status Lines 14 7.1 VGA Status Configuration Register . 15 8 Cartridge Emulation 16 8.1 Freezer Logic . 16 8.2 Clock port . 16 8.3 Simple ROM cartridges . 16 8.4 MMC64 . 17 8.4.1 MMC64 additional SPI devices . 17 8.5 RAM expansions . 17 8.5.1 REU (Ram Expansion Unit) 1700, 1750, 1764 . 18 8.5.2 REU Emulated Quirks . 18 8.5.3 REU Registers . 19 8.5.4 GeoRAM registers . 19 8.6 Action Replay / RetroReplay . 20 8.7 KCS Power Cartridge . 21 8.8 Final Cartridge 3 . 21 8.8.1 Final Cartridge 3 registers . 22 8.9 Simons Basic . 22 8.10 Ocean type 1 . 22 8.11 The Expert Cartridge . 23 8.12 Fun Play . 23 8.13 Super Games . 24 2 8.14 Epyx Fastload . 24 8.15 Westermann . 24 8.16 Game System (GS), System 3 . 24 8.17 WarpSpeed . 25 8.18 Dinamic . 25 8.19 Zaxxon and Super Zaxxon . 25 8.20 Magic Desk . 25 8.21 Super Snapshot 5 . 25 8.22 Comal-80 . 26 8.23 Ross . 26 8.24 Mikro Assembler . 26 8.25 StarDos . 26 8.26 EasyFlash . 27 8.26.1 EasyFlash registers . 27 8.27 Capture . 27 8.28 Prophet 64 . 28 8.29 Mach 5 . 28 8.30 PageFox . 28 8.31 Business Basic . 29 8.32 Cartridge Configuration Registers . 30 8.33 Cartridge stacks and combinations . 31 9 Menu mode 31 9.1 Entering menu mode . 31 9.2 Programming for menu mode . 31 9.3 VIC-II memory access in menu mode . 31 9.4 Differences between Menu and Configuration modes . 32 9.5 Extra 256 bytes of ROM or RAM . 32 9.5.1 Blocking NMI interrupts . 32 9.6 Leaving menu mode . 32 9.6.1 Leaving menu mode with RTI . 32 9.6.2 Leaving menu mode with reset . 33 9.7 Limitations . 33 10 Timers 33 10.1 Timers Registers . 33 11 CPU Turbo/Accelerator 33 11.1 Turbo I/O . 34 11.2 Auto Speed . 34 11.3 VIC-II register . 34 11.4 Turbo Configuration Register . 35 12 Disk Drive Emulation 35 12.1 Drive Memory Map . 35 12.2 Disk track layout . 35 12.3 Drive Configuration Registers . 36 13 SID Emulation 36 13.1 Using a Second SID Chip . 37 13.2 Filter curves . 37 13.3 SID Configuration Register . 38 14 VIC-II Emulation 38 14.1 Commodore 128 Incompatibility . 38 14.2 Framebuffer . 39 14.3 VIC-II Emulation Registers . 39 15 Using the Onboard Flash Memory 39 3 16 Using the RTC (Real Time Clock) Chip 39 17 RTC access registers (using MMC64 emulation) 40 18 PS/2 Keyboard connector 40 18.1 PS/2 Keyboard layout . 41 19 PS/2 Mouse connector 41 19.1 Emulation Behavior . ..
Recommended publications
  • Download, Including1 17N REU, Ramlink Partition, Jimymon-64 (ML Monitor)
    C 0 T E T S ISSUE Published June 1996 COMMODORE WORLD 6 Wheels-Laying More Than A Patch THE NEWS MAGAZINE FOR COMMODORE 64 » 1'■ I 1J',[ K1. Bruce Thonuu 14 GOFA-A Modulap- Pcogpamming System Fob The Coeimodore 64 http://wviw.cmiweb.am/cwhtme.hlml George Flanagan General Manager Chinks ft Christiansen ♦ Editor Review; Doug Cot Ion ♦ 24 Software: Centipede 126 E>r Gaelwe R. Gasson Advegtisinq Sales A Look ai ihe Newesi Commodore I2S BBS Program Charles A. Christiansen (413) 525-0023 ♦ Graphic Acts Doug Cotton .UMN! '♦ 26 Jusr Fob Starters by Jason Compton Electronic Pre-Press & Pointing Maiuir/Holden Helpful Hints for Handling Disk Drives ♦ 30 Graphic Interpretation by Bruce Thomas Cover Design by Doug Cotton GEOS: For ti Good lime... 32 Carrier Detect by Gaelyne B. Gasson Tclecommunicationi News & Updates 36 S16 Beat by Mark Fellows Things to Look Out For When Program/Hint- the 65X16 Commodore1" and [he respective Commodore producl names are trademarks or registered trademarks of Commodore, a 38 Over The Edge by Jeffrey L. Jones division of Tulip Compulers. Commodore World is in no way aftiliated wilrtthe owner n! ".he Commodore logo ana technology. Commodore Programming in a SuperCPU World Commodore Worla (ISSN 1078-2515) is published 8 limos annually by Creative Micro Designs. Inc.. 15 Benton Drive, Easl Longrneadow MA 01028-0646. Secono-Class Postage Paid at EasL Longmeaflow MA. (USPS «)n-801| Annual subscnpiion rale is USS29.95 fci U.S. addresses. USS35.95(orC3nada0'Maiico.USSJS.95!orallECCounlnB5. Department paymanlsmusl be provided in U S. Dollars. Mail subscriptions 2 From the Editor to CW Subscriptions, do Crestiva Micro Designs.
    [Show full text]
  • ~ ARTISAN® with Experienced Engineers and Technicians on Staff
    Full-service, independent repair center -~ ARTISAN® with experienced engineers and technicians on staff. TECHNOLOGY GROUP ~I We buy your excess, underutilized, and idle equipment along with credit for buybacks and trade-ins. Custom engineering Your definitive source so your equipment works exactly as you specify. for quality pre-owned • Critical and expedited services • Leasing / Rentals/ Demos equipment. • In stock/ Ready-to-ship • !TAR-certified secure asset solutions Expert team I Trust guarantee I 100% satisfaction Artisan Technology Group (217) 352-9330 | [email protected] | artisantg.com All trademarks, brand names, and brands appearing herein are the property o f their respective owners. Find the Measurement Computing / CEC PC-488 at our website: Click HERE Program and documentation copyrighted 1986, 1998, 2003 by Capital Equipment Corporation (CEC). The software interpreter contained in EPROM/ROM is copyrighted and all rights are reserved by Capital Equipment Corporation. Copying or duplicating this product is a violation of law. Application software libraries provided on disk are copyrighted by Capital Equipment Corporation. The purchaser is granted the right to include portions of this software in products which use one of CEC's IEEE-488 interface boards (including those sold through resellers such as Keithley Instruments, etc.). The software may not be distributed other than for the application just mentioned. Purchasers of this product may copy and use the programming examples contained in this book. No other parts of this book may be reproduced or transmitted in any form or by any means, electronic, optical, or mechanical, including photocopying and recording, or by any information storage and retrieval system, without permission in writing from Capital Equipment Corporation.
    [Show full text]
  • "TO-ASIST " Customised Software Tool Developed for A
    3 .A Theoretical Advance "TO-ASIST " It has been established that if new users to SIT are to feel comfortable and productive in their use of the technology, they require adequate training materials and user-. friendly software interfaces. It is proposed here that the concept of a TO-ASIST (Task Orientated - Application of a Spatial Information Systems Toolbox) is a possible vehicle by which both of these objectives may be met. A TO-ASIST may be defined as a: Customised software tool developed for a specific function using spatial information systems principles, presented in an environment that guides users through the application andfcicilitates learning of those principles. The TO-ASIST represents a re-assessment of how SIT is delivered to users from a non-technical background. An important feature of the TO-ASIST concept is its restriction to one function. Further, the TO-ASIST must undertake all of those tasks that are repetitive and require complex sequences of processing algorithms. The simplicity of use of the TO-ASIST is the key to its success. If a more complex TO- ASIST were developed, this would represent a return to a more generic interface menu, the very thing that should be avoided. The development of a TO-ASIST must be driven from the end-user rather than a SIT specialist attempting to predict what is needed. The development of useable software must be matched by an equal desire to provide linked, on-line instruction on the use of the software as well as linked, on-line reference to technical theory, should the analyst wish to pursue it.
    [Show full text]
  • Tandy's Little Wonder the Color Computer 1979-1991
    Tandy's Little Wonder The Color Computer 1979-1991 A complete history and reference guide to the CoCo and all related hardware, software, and support sources. by F.G. Swygert SECOND EDITION - UPDATED FEB 2006 Tandy's Little Wonder page 1 INSIDE FRONT COVER If printing to bind, print only page 1 (front cover) on card stock or heavy colored paper. page 2 Tandy's Little Wonder Tandy's Little Wonder the Color Computer: 1980-1991 (and still going strong into the next century!) Second Edition written & edited by F.G. Swygert The Original Tandy Color Computer First Edition Copyright 1993, Second Edition Copyright 2006 by F.G. Swygert. All rights reserved. Published by FARNA Systems 147 Tom Moore Road, Leesville, SC 29070 e-mail: [email protected] Tandy's Little Wonder page 3 Tandy's Little Wonder the Color Computer SPECIAL ACKNOWLEDGEMENTS: The following individuals have made contributions directly or indirectly to the content of this book : Frances Calcraft Lee Duell Thomas Fann Art Flexser Marty Goodman Frank Hogg Alan Huffman Don Hutchison Carmen Izzi Jr. M. David Johnson Bob Kemper Mark Marlette (Cloud-9) Nicholas Marentes Dave Myers Bob Montowski Alfredo Santos Kelly Thompson Jordan Tsvetkoff Rick Ulland Brian Wright Glenside Color Computer Club Mid-Iowa & Country CoCo Club Banner for the 15th "Last" CoCoFest annually hosted by Glenside Color Computer Club -- true stalwarts of the CoCo Community! This edition is dedicated to all those who continue to collect, use, and enjoy the Tandy Color Computer. All brand/trade names copyright their respective owners. No part of this publication may be reproduced or quoted without written permission from the publisher.
    [Show full text]
  • Building Object-Oriented Instrument Kits
    FI.,.HEWLETT a:~ PACKARD Building Object-Oriented Instrument Kits Martin L. Griss, Robert R. Kessler* Software Technology Laboratory HPL-96-22 February, 1996 component, Quick development of related instrument applications requires a domain-specific new approach-eombine techniques of systematic software reuse kits, framework, and component-based software with object technology and RAD. object-oriented, Reusable domain-specific frameworks, components, glue 00 methods, languages, and tools must be designed to work together to simplify application construction. Previous papers define such software reuse, compatible workproducts as domain-specific kits and describe a WAVE framework for their analysis and comparison. Using this kit model, we analyze the Hewlett-Packard Visual Engineering Environment (VEE) as a domain-specific kit. Contrasting these analysis results with those for Microsoft's Visual Basic@ (VB), we can identify the key features required for an experimental next-generation version of such an instrument kit. We gain maximum benefit by integrating systematic 00 methods to develop reusable architecture, framework, and components with a flexible, domain-specific visual application assembly environment. Using ObjectoryTM as the design tool and VB as the implementation vehicle, we have prototyped an open, component-oriented VEE-like environment, the WAVE Engineering System. WAVE is a flexible kit that supports high levels of software reuse. We illustrate how object technology, reuse, and RAD methods are combined by applying WAVE to a simple LEGOTM instrumentation kit implemented in VB. We describe some results of our experiments and what we have learned about kit construction using 00 methods and VB implementation. This description will enable the reader to use the concept of kits to structure and package reuse deliverables, and also indicate how technologies such as VB can be used as a powerful starting point.
    [Show full text]
  • BHT-BASIC Programmer's Manual
    Copyright © DENSO CORPORATION, 2000 All rights reserved. No part of this publication may be reproduced in any form or by any means without permission in writing from the publisher. Specifications are subject to change without prior notice. All products and company names mentioned in this manual are trademarks or registered trade- marks of their respective holders. BHT, CU, BHT-protocol, BHT-Ir protocol, and BHT-BASIC are trademarks of DENSO CORPO- RATION. Preface This manual describes the syntax and development procedure of BHT-BASIC 3.5 which is a programming language for developing application programs of the BHT-3000/BHT-4000/BHT- 5000/BHT-6000/BHT-6500/BHT-7000/BHT-7500 Bar Code Handy Terminals. It is intended for programmers who already have some experience in BASIC programming. For the basic description about the BASIC language, refer to documentations concerning Microsoft BASIC® or QuickBASIC®. For the details about Windows™, refer to the Microsoft Windows documentations. i How this book is organized This manual is made up of 18 chapters and appendices. Chapter 1. Software Overview for the BHT Surveys the software structure of the BHT and introduces the programs integrated in the ROM and the language features of BHT-BASIC. Chapter 2. Development Environment and Procedures Describes hardware and software required for developing application programs and the devel- oping procedure. Chapter 3. Program Structure Summarizes the basic structure of programs and programming techniques, e.g., program chaining and included files. Chapter 4. Basic Program Elements Describes the format of a program line, usable characters, and labels. Chapter 5. Data Types Covers data which the programs can handle, by classifying them into data types--constants and variables.
    [Show full text]
  • Commodore Enters in the Play “Business Is War, I Don't Believe in Compromising, I Believe in Winning” - Jack Tramiel
    Commodore enters in the play “Business is war, I don't believe in compromising, I believe in winning” - Jack_Tramiel Commodore_International Logo Commodore International was an American home computer and electronics manufacturer founded by Jack Tramiel. Commodore International (CI), along with its subsidiary Commodore Business Machines (CBM), participated in the development of the home personal computer industry in the 1970s and 1980s. CBM developed and marketed the world's best-selling desktop computer, the Commodore 64 (1982), and released its Amiga computer line in July 1985. With quarterly sales ending 1983 of $49 million (equivalent to $106 million in 2018), Commodore was one of the world's largest personal computer manufacturers. Commodore: the beginnings The company that would become Commodore Business Machines, Inc. was founded in 1954 in Toronto as the Commodore Portable Typewriter Company by Polish-Jewish immigrant and Auschwitz survivor Jack Tramiel. By the late 1950s a wave of Japanese machines forced most North American typewriter companies to cease business, but Tramiel instead turned to adding machines. In 1955, the company was formally incorporated as Commodore Business Machines, Inc. (CBM) in Canada. In 1962 Commodore went public on the New York Stock Exchange (NYSE), under the name of Commodore International Limited. Commodore soon had a profitable calculator line and was one of the more popular brands in the early 1970s, producing both consumer as well as scientific/programmable calculators. However, in 1975, Texas Instruments, the main supplier of calculator parts, entered the market directly and put out a line of machines priced at less than Commodore's cost for the parts.
    [Show full text]
  • Lesson12 Visual Basic Functions- Part II
    II Disclaimer Visual Basic Made Easy- A complete tutorial for beginners is an independent publication and is not affiliated with, nor has it been authorized, sponsored, or otherwise approved by Microsoft Corporation. Trademarks Microsoft, Visual Basic, Excel, Acess and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. All other trademarks belong to their respective owners. Liability The purpose of this book is to provide a basic guide for people interested in Visual Basic® programming. Although every effort and care has been taken to make the information as accurate as possible, the author shall not be liable for any error, harm or damage arising from using the instructions given in this book. Copyright 2006 Liew Voon Kiong All rights reserved. No Part of this e-book may be reproduced, in any form or by any means,without permission in writing from the author. ISBN: 141962895X I Acknowledgement I would like to express my sincere gratitude to many people who have made their contributions in one way or another to the successful publication of this book. My special thanks go to my children Xiang, Yi and Xun. My daughter Xiang edited this book while my sons Yi and Xun contributed their ideas and even wrote some of the sample programs for this book. I would also like to appreciate the support provided by my beloved wife Kim Huang and my youngest daughter Yuan. I would also like to thank the million of visitors to my Visual Basic Tutorial website at www.vbtutor.net , especially those who contributed their comments, for their support and encouragement.
    [Show full text]
  • BASIC 64 Complete Compiler for the Commodore 64
    BASIC 64 complete compiler for the Commodore 64 By T. Helbig 25933 A Data Becker product Published by: Abacus IIISoftware ~ ~~. " '~ COPYRIGHT NOTICE Abacus Software makes this package available for use on a single computer only. It is unlawful to copy any portion of this software package onto any medium for any purpose other than backup. It is unlawful to give away or resell copies of any part of this package. Any unauthorized distribution of this product deprives the authors of their deserved royalties. For use on multiple computers, please contact ABACUS Software to make such arrangements. WARRANTY Abacus Software makes no warranties, expressed or implied as to the fitness of this software product for any particular purpose. In no event will Abacus Software be liable for consequential damages. Abacus Software will replace any copy of the software which is unreadable if returned within 30 days of r). purchase. Thereafter, there will be a non;linal charge for replacement .' Third Printing, July 1985 Printed in U.S.A. Translated by Gene Traas, Heidi Sumner Copyright (C)1984 Data Becker, GmbH Merowingerstr. 30 4000 Dusseldorf, W.Germany Copyright (C)1984 Abacus Software, Inc. P.O. Box 7211 Grand Rapids, MI 49510 ISBN # 0·916439·17·8 TABLE OF CONTENTS o. IN1RODUCTION . • . • . • . • . • • . • . • . • 1 " 1. GETTINGSTARTED .•..•.....•••.•••..•.. 3 -....) 2. THECOMPllEWOPTIMUER ..•..••••.••..•.. 7 3. ADVANCED DEVELOPMENT FEATURES. • • • • . • • .11 4. THE OVERLAY FEATURE ..••.••....•..••.• 15 5. COMPll.ER DIRECTIVES. • . • . • . • • . • • • . • • . 17 6. HINTS FOR PROGRAMMING. • • . • . .21 PROGRAMMER'S APPENDIX COMPll.ER DETAll..S. • . • . • • • • • . • . • • • . 23 ARRAYS .•••.•••••.•.••••••••..••.• 25 INTEGER LOOPS. • . • . • . • . • . • • . • . .25 BASIC EXTENSIONS . • . • . • . • . • • • . • • . • • .26 SIMON'S BASIC. • . • . 28 BASIC 4.0. I • • • • • I • • • • • • • • • • 130 COMPILING BASIC EXTENSIONS.
    [Show full text]
  • Tbas MANUAL V. 1.0.Beta
    tbas MANUAL v. 1.0.beta by Antonio Maschio with the great great help of Tom Lake, Bruce Axtens and Ian Jones and some suggestions by Marcus Cruz ABSTRACT Welcome to the world of tbas! tbas is a powerful con- sole BASIC interpreter, with many statements and many func- tions, and with the most advanced features for console pro- gramming. This manual is not a BASIC primer; I assume you have the most common knowledge about programming; it’s more like a reference manual that helps in using correctly the various statements, functions and their options. Read also the tbas man page for other more general info and the installing instructions. Readers are encouraged to report all errors and inconsisten- cies (and all mistakes in the English sentences) found to ing dot antonio dot maschio at gmail dot com The tbas international team wants to thank you. 14 September 2019 -2- 1. Introduction tbas is a BASIC language interpreter (with an optional built-in interac- tive session) that reads textual files written in the BASIC language; files may be in any format - UNIX, DOS, Mac. Statements may be written in lower or upper or mixed case letters, since tbas is case insensitive. Line numbers are not necessary, and are required only either as labels for the GOTO/GOSUB jumps, or in the interactive session (option -i) or in case you have to run successively your program in a different num- bered-lines BASIC interpreter or compiler. It is completed with the famous MAT statements and a large math functions and operators set.
    [Show full text]
  • The Commodore 128 1 What's in This Book 2 the Commodore 128: Three Computers in One 3 the C128 Mode 6 the CP/M Mode 9 the Bottom Line 9
    The Official Book T {&~ Commodore \! 128 Personal Computer - - ------~-----...::.......... Mitchell Waite, Robert Lafore, and Jerry Volpe The Official Book ~~ Commodore™128 Personal Computer Howard W. Sams & Co., Inc. A Subsidiary of Macmillan, Inc. 4300 West 62nd Street, Indianapolis, Indiana 46268 U.S.A. © 1985 by The Waite Group, Inc. FIRST EDITION SECOND PRINTING - 1985 All rights reserved. No part of this book shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical. photocopying, recording, or otherwise, with­ out written permission from the publisher. No patent liability is assumed with respect to the use of the information contained herein. While every precaution has been taken in the preparation of this book, the publisher assumes no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained herein. International Standard Book Number: 0-672-22456-9 Library of Congress Catalog Card Number: 85-50977 Illustrated by Bob Johnson Typography by Walker Graphics Printed in the United States of America The Waite Group has made every attempt to supply trademark information about company names, products, and services mentioned in this book. The trademarks indicated below were derived from various sources. The Waite Group cannot attest to the accuracy of this information. 8008 and Intel are trademarks of Intel Corp. Adventure is a trademark of Adventure International. Altair 8080 is a trademark of Altair. Apple II is a registered trademark of Apple Computer, Inc. Atari and Atari 800 are registered trademarks of Atari Inc. Automatic Proofreader is a trademark of COMPUTE! Publications.
    [Show full text]
  • Issue #5 ™E STAUNCH 8/89 Er Oct-Nov-Dec 1987
    Issue #5 ™E STAUNCH 8/89 er Oct-Nov-Dec 1987 PORT TO PORTAL —Editorial THE EIGHT-BIT R/W -Letters There’s one point that I've put into various Pitch-changing on the H-25 flyers and other notices, but neglected to mention [From James M. Frank, 1761 King George Dr., in all the previous pages of The STAUNCH 8/89'er. Kissimmee, FL 32743]... I have heard of a CP/M de­ Reader mail has reminded me of it, so perhaps it's vice driver for the H-25 [printer] but have lost or not quite so obvious; let's bring it up now: Have misplaced the information. I want to be able to you ever wondered when your subscription will ex­ change the characters per inch on the H-25. Any pire? With STAUNCH nothing could be easier — when help? the year ends, so does your subscription. In other words, this is your last issue, unless you renew More on the Z-89-11 Interface for 1988 (or unless you've already done so). That's [From Bob McClure, Jr., Cumby, TX]... Regarding the because all STAUNCH subscriptions are always aligned first of the "Questions and Answers" in Issue #4 with the calendar years. For example, anyone sub­ [p.8] about the Z-89-11 interface. I believe that scribing anytime in 1987 receives the 4 issues of board uses a 2661 in the serial section. It is func­ 1987 (actually 5 in '87 because Issue #1 from '86 tionally similar to the 8250, being baud-rate- was an extra "bonus").
    [Show full text]