MSX Programming – Graham Bland

Total Page:16

File Type:pdf, Size:1020Kb

MSX Programming – Graham Bland MSX PrograDlDling Graham Bland Pitman PITMAN PUBLISHING LIMITED 128 Long Acre, London WC2E 9AN A Longman Group Company © Graham Bland 1986 First published 1986 British Library Cataloguing in Publication Data Bland, Graham MSX programming. 1. MSX microcomputers - Programming 2. MSX BASIC (Computer program language) I. Title 001.64'24 QA76.8.M8 ISBN 0-273-02302-0 All rights reserved. No part ofthis publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording and/or otherwise, without the prior written permission of the publishers. This book may not be lent, resold, hired out or otherwise disposed of by way of trade in any form of binding or cover other than that in which it is published, without the prior consent of the publishers. Printed in Great Britain at the Bath Press, Avon Contents Preface v Acknowledgements vi Syntax notes vii 1 First principles 1 (The central processing unit (CPU), Memory, Input and output devices, Bits and bytes, Memory addressing, The MSX-BASIC interpreter, Programs, PRINT, Stopping programs, Displaying programs, Deleting program lines, Renumbering programs, Automatic line numbering, Altering the screen display, The SCREEN command, Altering colour, The function keys, Saving and loading programs, Summary) 2 Elementary MSX-BASIC 12 (Data and data types, Naming variables, The MSX-BASIC operators, Variable assignment, The GOTO statement, Conditional statements and branching, Loops, Variable housekeeping, Global variable typing, Summary) 3 Functions and subroutines 34 (Functions, User-defined functions, Subroutines, Stepwise refinement, Creating subroutine libraries, Summary) 4 Loops, interrupts and event monitoring 48 (The FOR ... NEXT loop, Monitoring devices, Monitoring the keyboard, Error conditions, Timer interrupts, The trigger button interrupt, Monitoring the function keys, CTRL-STOP monitoring, Points to note, Summary) 5 Input, output and string handling 64 (The MSX-BASIC character set, String manipulation, Variations on INPUT, Cursor positioning, Miscellaneous string functions, Formatted output, Using a printer for output, Summary) 6 Data structures 88 (Data lists, Array processing examples, Secondary indexing, Tables, Array housekeeping and general details, Use of files, Summary) iii 7 MSX sound features 103 (The use of sound, The PLAY command, Multiple voices and buffering, The SOUND command, SOUND programs, Summary) 8 Introduction to graphics 124 (The MSX-graphics screens, The use of colour, Painting shapes, Determining pixel colour, Mixing text and pictures, Input while using graphics, The DRAW command, Programming applications, Summary) 9 Advanced graphics 161 (Animation, Properties of sprites, Programmed screen design, Frame-by­ frame animation, The video random access memory (VRAM), BASE addressing, Additional uses for VRAM, Summary) Appendices 196 (The remaining functions, Error codes, Additional reserved words, Logic tables, Frequency tables, Memory map and the USR function Index 207 iv Preface This book is intended to teach the fundamentals of MSX-BASIC programming. It is assumed that the reader has some degree of familiarity with his computer - using the various functions of the keyboard, for example. The program examples are included to demonstrate features of the language as they are introduced. Wherever possible, these examples are made to be useful in their own right. For example, Chapter 5 introduces a function and shows how it may be used to centre text on a display. Readers may note a distinct bias towards graphics, with two major chapters devoted to the topic. Graphics are possibly the most interest­ ing and dynamic feature of home or any computers, and are extremely well supported by MSX-BASIC. The advanced graphics chapter, in particular, was included to correct the MSX manufacturer's poor, or simply non-existent documentation relating to the use of Video Mem­ ory and the Video Display Processor. No attempt has been made to broach the subject of machine code programming. Given the scope of this topic and the fact that this is mainly a book about BASIC programming, I feel that this omission is justified. However, the mechanism for including machine code routines in MSX-BASIC programs is discussed in the Appendices. MSX-BASIC is an ideal introduction to the BASIC language on a number of computers. A glance at BASICA of the IBM Personal Computer shows that MSX-BASIC is virtually identical to the language of the 16-bit machine. A sound knowledge of MSX-BASIC will allow the interested programmer to move on to programming GW-BASIC 2.0, which is offered by a number of 16-bit computer manufacturers including: Compaq, Digital Equipment Corporation, Hitachi, Olivetti, Sanyo, Wang, and a host of others worldwide. Graham Bland October 1985 v Acknovv ledgeIllents In the preparation of this book, I am indebted to Janet Morrison, who provided useful criticism and technical advice. This book is dedicated to young Emma Louise Fenwick, who is as yet blissfully unaware of the existence of computers and, with any luck, should remain that way for a few years yet. Graham Bland October 1985 vi Syntax notes The following notation is used to represent MSX-BASIC commands and functions throughout the book: Keywords are indicated in upper case and must be supplied. Items shown between the symbols ( ) must be supplied. Items shown in square brackets [ ] are optional. Items separated by: symbols require only one item of the list to be supplied. Repeated items are shown by ... All other punctuation must be included where shown. vii 1 First principles A computer is simply a versatile piece of electronics designed to solve problems. These problems can be as diverse as the production of a game and advanced calculus. The computer can accomplish such a wide range of tasks by virtue of its ability to recognize a set of instructions and carry them out. A list of computer instructions is termed a program. Contrary to popular belief, computers are not super-intelligent, nor are they stupid. They are simply machines which carry out instructions to the letter. The supplier of the instructions, the programmer, has to communicate the means of performing a given task clearly and concise­ ly. The MSX-BASIC language has been designed to ease the task of communication between man and machine. This chapter introduces MSX-BASIC and the elements of an MSX Computer. To begin with, there is an overview ofthe main components of the computer system. The central processing unit (CPU) The central processing unit is the keystone of any computer system. It can read a list of instructions and carry them out. The instructions it obeys are a series of special numbers which comprise machine code. The CPU is responsible for all calculations and the control and monitoring of most of the elements of the computer. In all MSX computers, the CPU is a microprocessor called the Zilog Z80. Memory Memory is used to store information. This information may be a list of instructions that constitute a program, or information that is to be processed by programs. There are two main types of memory that need to be considered. 2 MSX Programming 1 Random Access Memory (RAM) is termed 'volatile', as it may only retain information when supplied with power. 2 Read Only Memory (ROM) may only be read and not written to. It stores information (generally programs) which have previously been 'burned' into it. Information is retained with or without the presence of a power source. Input and output devices Input devices are used to supply the CPU with information. The most important of these is undoubtedly the keyboard. Joysticks, lightpens and touch pads are further examples of this type of device. For output, a monitor is virtually essential. This may be a domestic television set, or a custom-built dedicated device. A printer is another form of output device. Some pieces of equipment may act as both source and recipient of information. The cheapest and most popular input/output device is the cassette recorder. A faster, but costlier alternative is a disk storage unit. Bits and bytes The most basic element of storage in a digital computer is a bit, which is an abbreviation for the phrase binary digit. A bit may have one of two values: either '0' or '1'. A group of eight bits, called a byte, is used to represent information. The Z80 is termed an 8-bit processor as it may only read or write values in groups of eight bits at a time. Using a byte, up to 256 distinct numbers (from 0-255) may be represented. This is achieved using the binary number system. Unlike our more familiar decimal system, binary represents values in base 2. Instead of having units, tens, hundreds, etc., binary has units, twos, fours, eights, sixteens, etc. Here are a few examples of binary values: 100 4 (decimal) 11110001 = 241 (decimal) 1101 = 13 (decimal) A byte is not the only collective name for a group of bits. The following names are also commonly used for different groups: Nibble 4 bits Byte 8 bits Word 16 bits Double word 32 bits First principles 3 Memory addressing Your computer will be advertised as having 64K, 48K, 32K or perhaps 16K of memory. The 'K' represents the number 211il which is 1024. So if you have a 64K computer, the amount of memory will be: 1024 x 64 = 65536 bytes. Each byte of memory is regarded as a unique entity which may be referenced by name. This 'name' takes the form of a number. The Nth memory location is referred to by the number N-1. So the 65536th memory location is given by the number 65535. The MSX-BASIC interpreter Every MSX computer contains 32K of ROM. This stores a special machine code program called the MSX Interpreter. As soon as the computer is switched on, the CPU reads and executes (carries out) the instructions of the interpreter.
Recommended publications
  • Alive Dead Media 2020: Tracker and Chip Music
    Alive Dead Media 2020: Tracker and Chip Music 1st day introduction, Markku Reunanen Pics gracefully provided by Wikimedia Commons Arrangements See MyCourses for more details, but for now: ● Whoami, who’s here? ● Schedule of this week: history, MilkyTracker with Yzi, LSDJ with Miranda Kastemaa, holiday, final concert ● 80% attendance, two tunes for the final concert and a little jingle today ● Questions about the practicalities? History of Home Computer and Game Console Audio ● This is a vast subject: hundreds of different devices and chips starting from the late 1970s ● In the 1990s starts to become increasingly standardized (or boring, if you may :) so we’ll focus on earlier technology ● Not just hardware: how did you compose music with contemporary tools? ● Let’s hear a lot of examples – not using Zoom audio The Home Computer Boom ● At its peak in the 1980s, but started somewhat earlier with Apple II (1977), TRS-80 (1977) and Commodore PET (1977) ● Affordable microprocessors, such as Zilog Z80, MOS 6502 and the Motorola 6800 series ● In the 1980s the market grew rapidly with Commodore VIC-20 (1980) and C-64 (1982), Sinclair ZX Spectrum (1982), MSX compatibles (1983) … and many more! ● From enthusiast gadgets to game machines Enter the 16-bits ● Improving processors: Motorola 68000 series, Intel 8088/8086/80286 ● More colors, more speed, more memory, from tapes to floppies, mouse(!) ● Atari ST (1984), Commodore Amiga (1985), Apple Macintosh (1984) ● IBM PC and compatibles (1981) popular in the US, improving game capability Not Just Computers ● The same technology powered game consoles of the time ● Notable early ones: Fairchild Channel F (1976), Atari VCS aka.
    [Show full text]
  • What Way Is It Meant to Be Played?
    What Way Is It Meant To Be Played? Florian Mihola March 2020 Abstract and home video game consoles digital inputs were the standard up until the “16-bit” era of the 1990s. The most commonly used interface between a Sony PlayStation, Nintendo 64 and Sega Saturn fi video game and the human user is a handheld are among the rst which brought with them ad- “game controller”, “game pad”, or in some occa- ditional analog controls—either at launch or as an sions an “arcade stick.” Directional pads, analog updated controller option. And even though mod- sticks and buttons—both digital and analog—are ern mass-market offerings include analog sticks linked to in-game actions. One or multiple simul- and analog triggers, digital buttons and directional taneous inputs may be necessary to communicate pads remain the ubiquitous fundamentals of input. the intentions of the user. Activating controls may The simple nature and widespread use of digital be more or less convenient depending on their po- inputs leads to a degree of interoperability: Game sition and size. In order to enable the user to per- software is not necessarily tied to a single game fi form all inputs which are necessary during game- controller—whether we interpret this as a speci c play, it is thus imperative to find a mapping be- model, a design and protocol available by different tween in-game actions and buttons, analog sticks, manufacturers, or a class of generic controllers— and so on. We present simple formats for such but can be enjoyed using a range of controllers, mappings as well as for the constraints on possi- provided they share at least some common char- ble inputs which are either determined by a phys- acteristics.
    [Show full text]
  • Programme Edition
    JOURNEE 13h00 - 18h00 WEEK END 14h00 - 19h00 JOURJOURJOUR Vendredi 18/12 - 19h00 Samedi 19/12 Dimanche 20/12 Lundi 21/12 Mardi 22/12 ThèmeThèmeThème Science Fiction Zelda & le J-RPG (Jeu de rôle Japonais) ArcadeArcadeArcade Strange Games AnimeAnimeAnime NES / Twin Famicom / MSXMSXMSX The Legend of Zelda Rainbow Islands Teenage Mutant Hero Turtles SC 3000 / Master System Psychic World Streets of Rage Rampage Super Nintendo Syndicate Zelda Link to the Past Turtles in Time + Sailor Moon Megadrive / Mega CD / 32X32X32X Alien Soldier + Robo Aleste Lunar 2 + Soleil Dynamite Headdy EarthWorm Jim + Rocket Knight Adventures Dragon Ball Z + Quackshot Nintendo 64 Star Wars Shadows of the Empire Furai no Shiren 2 Ridge Racer 64 Buck Bumble SaturnSaturnSaturn Deep Fear Shining Force III scénario 2 Sky Target Parodius Deluxe Pack + Virtual Hydlide Magic Knight Rayearth + DBZ Shinbutouden Playstation Final Fantasy VIII + Saga Frontier 2 Elemental Gearbolt + Gun Blade Arts Tobal n°1 Dreamcast Ghost Blade Spawn Twinkle Star Sprites Alice's Mom Rescue Gamecube F Zero GX Zelda Four Swords 4 joueurs Bleach Playstation 2 Earth Defense Force Code Age Commanders / Stella Deus Puyo Pop Fever Earth Defense Force Cowboy Bebop + Berserk XboxXboxXbox Panzer Dragoon Orta Out Run 2 Dead or Alive Xtreme Beach Volleyball Wii / Wii UWii U / Wii JPWii JP Fragile Dreams Xenoblade Chronicles X Devils Third Samba De Amigo Tatsunoko vs Capcom + The Skycrawlers Playstation 3 Guilty Gear Xrd Demon's Souls J Stars Victory versus + Catherine Kingdom Hearts 2.5 Xbox 360 / XBOX
    [Show full text]
  • Procedural Audio for Video Games
    Procedural Audio for Video Games: Are we there yet ? Nicolas Fournel – Principal Audio Programmer Sony Computer Entertainment Europe Overview • What is procedural audio ? • How can we implement it in games ? • Pre-production • Design • Implementation • Quality Assurance What is Procedural Audio ? First, a couple of definitions… Procedural refers to the process that computes a particular function Procedural content generation generating content by computing functions Procedural techniques in other domains Landscape generation • Fractals (terrain) • L-systems (plants) • Perlin noise (clouds) Procedural techniques in other domains Texture generation • Perlin noise • Voronoi diagrams Procedural techniques in other domains City creation (e.g. CityEngine) Procedural techniques in other domains • Demo scene: 64 Kb / 4Kb / 1 Kb intros • .kkrieger: 3D first person shooter in 96K from Farbrausch Procedural content in games A few examples: • Sentinel • Elite • DEFCON • Spore • Love Present in some form or another in a lot of games What does that teach us ? Procedural content generation is used: • due to memory constraints or other technology limitations • when there is too much content to create • when we need variations of the same asset • when the asset changes depending on the game context What does that teach us ? • Data is created at run-time • Is based on a set of rules • Is controllable by the game engine Defining Procedural Audio For sound effects: • Real-time sound synthesis • With exposed control parameters • Examples of existing systems: • Staccato Systems: racing and footsteps • WWISE SoundSeed (Impact and Wind / Whoosh) • AudioGaming Defining Procedural Audio For dialogue: • real-time speech synthesis e.g. Phonetic Arts, SPASM • voice manipulation systems e.g.
    [Show full text]
  • CP/M-80 Kaypro
    $3.00 June-July 1985 . No. 24 TABLE OF CONTENTS C'ing Into Turbo Pascal ....................................... 4 Soldering: The First Steps. .. 36 Eight Inch Drives On The Kaypro .............................. 38 Kaypro BIOS Patch. .. 40 Alternative Power Supply For The Kaypro . .. 42 48 Lines On A BBI ........ .. 44 Adding An 8" SSSD Drive To A Morrow MD-2 ................... 50 Review: The Ztime-I .......................................... 55 BDOS Vectors (Mucking Around Inside CP1M) ................. 62 The Pascal Runoff 77 Regular Features The S-100 Bus 9 Technical Tips ........... 70 In The Public Domain... .. 13 Culture Corner. .. 76 C'ing Clearly ............ 16 The Xerox 820 Column ... 19 The Slicer Column ........ 24 Future Tense The KayproColumn ..... 33 Tidbits. .. .. 79 Pascal Procedures ........ 57 68000 Vrs. 80X86 .. ... 83 FORTH words 61 MSX In The USA . .. 84 On Your Own ........... 68 The Last Page ............ 88 NEW LOWER PRICES! NOW IN "UNKIT"* FORM TOO! "BIG BOARD II" 4 MHz Z80·A SINGLE BOARD COMPUTER WITH "SASI" HARD·DISK INTERFACE $795 ASSEMBLED & TESTED $545 "UNKIT"* $245 PC BOARD WITH 16 PARTS Jim Ferguson, the designer of the "Big Board" distributed by Digital SIZE: 8.75" X 15.5" Research Computers, has produced a stunning new computer that POWER: +5V @ 3A, +-12V @ 0.1A Cal-Tex Computers has been shipping for a year. Called "Big Board II", it has the following features: • "SASI" Interface for Winchester Disks Our "Big Board II" implements the Host portion of the "Shugart Associates Systems • 4 MHz Z80-A CPU and Peripheral Chips Interface." Adding a Winchester disk drive is no harder than attaching a floppy-disk The new Ferguson computer runs at 4 MHz.
    [Show full text]
  • January 2010
    SPECIAL FEATURE: 2009 FRONT LINE AWARDS VOL17NO1JANUARY2010 THE LEADING GAME INDUSTRY MAGAZINE 1001gd_cover_vIjf.indd 1 12/17/09 9:18:09 PM CONTENTS.0110 VOLUME 17 NUMBER 1 POSTMORTEM DEPARTMENTS 20 NCSOFT'S AION 2 GAME PLAN By Brandon Sheffield [EDITORIAL] AION is NCsoft's next big subscription MMORPG, originating from Going Through the Motions the company's home base in South Korea. In our first-ever Korean postmortem, the team discusses how AION survived worker 4 HEADS UP DISPLAY [NEWS] fatigue, stock drops, and real money traders, providing budget and Open Source Space Games, new NES music engine, and demographics information along the way. Gamma IV contest announcement. By NCsoft South Korean team 34 TOOL BOX By Chris DeLeon [REVIEW] FEATURES Unity Technologies' Unity 2.6 7 2009 FRONT LINE AWARDS 38 THE INNER PRODUCT By Jake Cannell [PROGRAMMING] We're happy to present our 12th annual tools awards, representing Brick by Brick the best in game industry software, across engines, middleware, production tools, audio tools, and beyond, as voted by the Game 42 PIXEL PUSHER By Steve Theodore [ART] Developer audience. Tilin'? Stylin'! By Eric Arnold, Alex Bethke, Rachel Cordone, Sjoerd De Jong, Richard Jacques, Rodrigue Pralier, and Brian Thomas. 46 DESIGN OF THE TIMES By Damion Schubert [DESIGN] Get Real 15 RETHINKING USER INTERFACE Thinking of making a game for multitouch-based platforms? This 48 AURAL FIXATION By Jesse Harlin [SOUND] article offers a look at the UI considerations when moving to this sort of Dethroned interface, including specific advice for touch offset, and more. By Brian Robbins 50 GOOD JOB! [CAREER] Konami sound team mass exodus, Kim Swift interview, 27 CENTER OF MASS and who went where.
    [Show full text]
  • Video Gaming and Death
    Untitled. Photographer: Pawel Kadysz (https://stocksnap.io/photo/OZ4IBMDS8E). Special Issue Video Gaming and Death edited by John W. Borchert Issue 09 (2018) articles Introduction to a Special Issue on Video Gaming and Death by John W. Borchert, 1 Death Narratives: A Typology of Narratological Embeddings of Player's Death in Digital Games by Frank G. Bosman, 12 No Sympathy for Devils: What Christian Video Games Can Teach Us About Violence in Family-Friendly Entertainment by Vincent Gonzalez, 53 Perilous and Peril-Less Gaming: Representations of Death with Nintendo’s Wolf Link Amiibo by Rex Barnes, 107 “You Shouldn’t Have Done That”: “Ben Drowned” and the Uncanny Horror of the Haunted Cartridge by John Sanders, 135 Win to Exit: Perma-Death and Resurrection in Sword Art Online and Log Horizon by David McConeghy, 170 Death, Fabulation, and Virtual Reality Gaming by Jordan Brady Loewen, 202 The Self Across the Gap of Death: Some Christian Constructions of Continued Identity from Athenagoras to Ratzinger and Their Relevance to Digital Reconstitutions by Joshua Wise, 222 reviews Graveyard Keeper. A Review by Kathrin Trattner, 250 interviews Interview with Dr. Beverley Foulks McGuire on Video-Gaming, Buddhism, and Death by John W. Borchert, 259 reports Dying in the Game: A Perceptive of Life, Death and Rebirth Through World of Warcraft by Wanda Gregory, 265 Perilous and Peril-Less Gaming: Representations of Death with Nintendo’s Wolf Link Amiibo Rex Barnes Abstract This article examines the motif of death in popular electronic games and its imaginative applications when employing the Wolf Link Amiibo in The Legend of Zelda: Breath of the Wild (2017).
    [Show full text]
  • Msx Computer Magazine 01.Pdf
    Test: QDM-Ol Wordt de Quick-Dlsc de "nur"I".". van de datarecorder? COMPUTElt MAGAZINE MSX COMPUTER MAGAZINE Is een uitgave van MBI Publications bv Amsterdam Hoofdredakteur Ronaid Blankenstein AMSTERDAM Programma redakteur rai Wammes Witkop Test: Sony Hit-Bit HB-75P, pag. 20-24 PlaHegrond Personal Bladmanager Computer Rai. Pag. 17. Emanuel Damsteeg Sony's nieuwste hit: de Hit-Bit. een computer die werkt met de gestandaar­ diseerde MXS-software. Van 20 Um 24 maart wordt in de Sony trekt daarmee de kar van het MSX gebeuren en pakt de zaken meteen Amsterdamse RAl de eerste Home/ Medewerkers: goed aan. Zowel hardware, software als randapparatuur bieden MSX-ge­ Wichert van Engelen Personal Computer Show gehou­ bruikers veel mogelijkheden. Het test-team stoeide uitgebreid met de Hit­ Frans Wolfkamp den. Zeker is dat een groot deel van Bit. Harry van Horen deze beurs in het teken zal staan van HansGoddijn (keyboards) MSX. Ad Versney Op pagina 17 vindt u een platte­ Test: Quick Disk. grond en een opsomming van de Korresspondenten stands. Hans Kroeze (Hong Kong) Pag. 36-38 Gert Berg (Japan) Menno Aartsen (Amerika) Het geslaagde alternatief tussen cassetterecorder en disk-drive, zo Redaktie: noemt de test redaktie het nieuwe Interview: Pag. 8-10 Postbus1392 fenomeen: de Ouick Disk. De ODM- 1000 BJ Amsterdam 01 is een snelle bovenlader die P. van Aacken, Nederlands eerste Tel020-681081" werkt met 64K, 2,8 inch diskettes. MSX softwarehouse. Telex: 16015 MBI NL Fax: 020-681081 tst. 28 Berichten bestemd voor de redak­ tie via terminal Tel. 020-681081. Listing: Lampies, 300 Baud, 8 bits, No parity,1 stop­ pag.
    [Show full text]
  • Imitation and Limitation
    Fake Bit: Imitation and Limitation Brett Camper [email protected] ABSTRACT adventure and role-playing games, which are traditionally less A small but growing trend in video game development uses the action-oriented. Several lesser known NES games contributed to “obsolete” graphics and sound of 1980s-era, 8-bit microcomputers the style early on as well, such as Hudson Soft’s Faxanadu (1989) to create “fake 8-bit” games on today’s hardware platforms. This and Milon’s Secret Castle (1986), as well as Konami’s The paper explores the trend by looking at a specific case study, the Goonies II (1987). In more recent decades, the Castlevania series platform-adventure game La-Mulana, which was inspired by the from Konami has also adopted and advanced the form, from Japanese MSX computer platform. Discussion includes the Symphony of the Night (1997) on PlayStation, through Portrait of specific aesthetic traits the game adopts (as well as ignores), and Ruin (2006) for the Nintendo DS. the 8-bit technological structures that caused them in their original La-Mulana is an extremely well made title that ranks among the 1980s MSX incarnation. The role of technology in shaping finest in this genre, displaying unusual craftsmanship and aesthetics, and the persistence of such effects beyond the lifetime cohesiveness. Its player-protagonist is Professor Lemeza, an of the originating technologies, is considered as a more general archaeologist explorer charting out vast underground ruins in a “retro media” phenomenon. distant, unspecified corner of the globe (Indiana Jones is an obvious pop culture reference, but also earlier examples like H.
    [Show full text]
  • Handy Instruction Manual
    Handy Instruction Manual Handy Instruction Manual Table of Contents 9 About SmileBASIC 10 Using SmileBASIC 11 About BASIC 12 About the TOP MENU 13 Projects in the Cloud 14 Managing Projects / Files 15 Options 16 Starting BASIC 17 Using the Keyboard 18 What is DIRECT Mode? 19 Writing in EDIT Mode 20 Features in EDIT Mode 21 Managing Programs 22 About Sample Programs 23 Using the HELP Tool 24 Using the SMILE Tool 25 "PRINT" and Variables 26 Using Variables 27 Conditional Judgment 28 Computer Colors (RGB) 29 Graphic Instructions 30 Sound Instructions 32 3D Effects 33 Screen Layout 34 BG (Backgrounds) 35 Sprites 9 About SmileBASIC SmileBASIC is a tool that allows you to easily write programs on a Nintendo 3DS system. As it is also compatible with the system's 3D mode, you can create programs that utilize the 3D feature. User Agreement Programs and resources such as images created using this product can be made open to the public using the Publish feature, allowing large numbers of people to view and run them. Please be sure not to publish any content that other people may find offensive, or content that reveals personally identifiable information or violates the rights of others (including portrait rights, privacy rights, and copyrights). Anyone who performs improper acts that may cause public nuisance, or who publishes obscene or libelous images, risks punishment in accordance with the applicable laws and regulations. SmileBoom Co.Ltd. assumes no responsibility for any issues resulting from information or programs published by its customers. Please note that if we receive a report from a customer that they are offended by a published project, we may delete said project unconditionally, without any prior procedure such as confirming with the relevant creator.
    [Show full text]
  • Allesoverde Centronics-Interface Microgolfoscillatoren
    wank ':T> & Alles over de Centronics-interface Microgolfoscillatoren Energie uit bolbliksems Morse leren met de computer Bouwontwerp: toneburstgenerator 9/85 maandblad voor toegepasfe elektronica • losse numrrfrs ƒ 5,2&Bfr. 100 • 54e jaargang NIEUW! SINCLAIR QL LEREN PROGRAMMEREN R. A. & J. W. Penfold In dit boek wordt op deskundige wijze uitleg gegeven over alle programma-instrukties en hoe deze te combineren tot programma’s die de computer precies dat laten doen wat de gebruiker wenst. ISBN 90 6082 258 7 ƒ 24,50/Bfr. 490 Bestelnummer 094517 porto ƒ 2,30 Uit dezelfde serie zijn verschenen: ISBN 90 6082 252 8 Commodore 64 leren programmeren ƒ 19,70/Bfr. 394 ISBN 90 6082 256 0 Commodore 64 progr. in machinetaal ƒ 22,50/Bfr. 450 ISBN 90 6082 227 7 Vic 20 leren programmeren ƒ 19,95/Bfr. 399 ISBN 90 6082 245 5 ZX Spectrum leren programmeren ƒ 19,20/Bfr. 384 ISBN 90 6082 248 X ZX-81 16k leren programmeren ƒ 19,70/Bfr. 394 ISBN 90 6082 259 5 MSX Basic leren programmeren ƒ 24,50/Bfr. 490 ISBN 90 6082 257 9 Atari 600 & 800 XL leren programmeren ƒ 21,50/Bfr. 430 ISBN 90 6082 225 0 50 programma’s voor de Commodore 64 ƒ 19,95/Bfr. 399 ISBN 90 6082 228 5 50 programma's voor de Vic 20 ƒ 19,95/Bfr. 399 ISBN 90 6082 273 0 50 programma’s voor MSX Computers ƒ 21,50/Bfr. 430 Voor meer informatie kunt u bellen: voor België: verkrijgbaar bij: Uitgeverij De Muiderkring b.v.
    [Show full text]
  • Commodore 16 Commodore Plus/4 MSX Standard Computers
    •!. Commodore Plus/4 This is the machine that may well eventually replace the Commodore 64. Both machines have a similar 320 by 200 pixel Commodore 64 graphics resolution and 64 Kbytes of RAM, but the Plus/4 can A well-established micro, with a wealth of available software, the Commodore display 121 colours and has a much improved BASIC, giving the 64 suffers from its poor BASIC, which lacks built-in commands user more control of the screen display. In the highest resolution 16 to take advantage of the excellent sound and graphics (see page Designed to replace the ageing mode, two colours only may be displayed in a single character 10). Maximum resolution is 320 by 200 pixels with 16 colours square, but selection of the 160 by 200 pixel mode allows four Vic-20, the Commodore 16 is onscreen, although only two colours may be displayed in each supplied in a 'starter pack' per square. The sound does not quite match up to the high character square. Sprites are also supported. Despite the 64 standards of the Commodore 64, with a maximum of two containing cassette recorder, Kbytes of RAM, no more than 39 Kbytes are available for use. A BASIC tutorial tape and book. 'voices': however, the improved BASIC makes sound-handling special cassette recorder is required for use with the C64, and considerably easier. The Commodore 64's sprite graphics facility and four 'recreational' Commodore 'own brand' printers and disk drives are needed if programs. Although the casing has been omitted in the new model. A machine code monitor is expansion is desired.
    [Show full text]