english greek
Home arrow Newbrain Information arrow Load from Tape/Com save to Com/Tape

Load from Tape/Com save to Com/Tape

Written by Chris Desp
Monday, 16 July 2012

How to load from tape and save to com port (rs232)

and

How to load from com port(rs232) and save to tape.

 

On the pc side of course you should use the emulator ;-) 

 

This way you can transfer a tape to the emulator through a working NewBrain machine

 and

 You can save a program from the emulator to a tape cassette through a working Newbrain. 


//Load from Com Save to Tape

5 ON BREAK GOTO80
10 CLOSE#1
20 CLOSE#9
30 OPENOUT#1,1,"<YOUR FILENAME>"
40 OPEN#9,9
50 INPUT#9,a
60 PUT#1,a
70 GOTO 50
80 Close#1
100 END

//After Error 200 type Close#1


//Load from Tape Save to Com

5 ON BREAK GOTO80
10 CLOSE#1
20 CLOSE#9
30 OPEN#1,1
40 OPEN#9,9
50 GET#1,a
60 PRINT#9,a
70 GOTO 50
80 Close#1
100 END

// Ignore Error 133 Past End of File

User Login





No account yet? Create account
Newbrain Set

Statistics

Languages: 2
Members: 632
News: 94
WebLinks: 16
Visits since 15/09/2004
mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday544
mod_vvisit_counterYesterday1878
mod_vvisit_counterThis Week7124
mod_vvisit_counterThis Month34381
We have 56 guests online

Please use the NB CATALOG page here to insert your hardware and help us catalog everything that survived all these years.

Most  programs on this website are in WinRar format. The WinRar compression program is available for free on the Internet.

Latest Version is 3.0B4 (28/06/2017)

Latest Full Version is 3.0B4 (Jun 2017)

------------------------------------------
Latest Version is 2.65B1
(10/12/2016)

Latest update is 2.64FN1

Latest Full Version is 2.64FINal

* Register to be able to download

  • IOS Image Rotator
  • IOS Image Rotator
  • IOS Image Rotator
  • IOS Image Rotator

Shouter

Saphir17: For the diy-hard NB fanboys... Check Ebay for : GRUNDY NEWBRAIN RETRO COMPUTER MUG (Date: 25/02/2022 16:41)
gillespienewbrain: Hi, Can anyone tell me what commands I need to load a program from PC to NB over serial using PC2NB or the emulator? (Date: 08/08/2019 17:13)
Shoppie: Hello all, Found my old Newbrain in my garage again. The sticker on the bottoms shows I bought it in March 1984.... The good old computer days :-) (Date: 03/04/2018 14:12)

You are not allowed to post!

Polls

Do you have a Newbrain Home Computer?

Results

Syndicate

RSS 0.91
RSS 1.0
RSS 2.0
ATOM 0.3
OPML
Powered by Elxis - Open Source CMS.
Copyright (C) 2006-2023 Elxis.org. All rights reserved.