english greek
Αρχική arrow Information

Newbrain Information

NB Clock

Έχει γραφτεί από Chris Despoinidis
Παρασκευή, 29 Απρίλιος 2016

_System Clock_

by Gerald McMullon

The  COP  provides a system clock  after

each  interrupt (50 times  per  second).

The  COP  scans the keyboard  and  looks

after the relays for the cassette  motor

as  well  as  handling the  VF  display.

Page  zero stores 4 bytes,  the  current

status  of the clock in location 52H-55H

(82-85 decimal).

The  clock  can  be  displayed  by   the

following:

FOR i=1TO1000 :

PUT 12 :

?PEEK(82),PEEK(83),PEEK(84),PEEK(85) :

NEXT i

The  most significant byte is  PEEK(85).

The true value can be found by

?PEEK(85) + 256*( PEEK(84)+256*(

PEEK(83) + 256*PEEK(82) ) )

and can be reset by

FOR i=82to85 : POKE i,0 : NEXT i

On  the  unexpanded NewBrain  or  simple

expansion    (disk    controller)    the

following call locations are available:-

CALL 62383 :REM to reset the clock

CALL 62399, ms : REM to obtain the

system clock time

The  value in seconds is  calculated  by

ms/50.

Example:

5 REM Waste 10 seconds

(approximately)

10 CALL 62383

20 CALL 62399,ms :

IF ms < 500 THEN 20

30 END

The  clock  is  very accurate,  and  has

matched  a  quartz  watch, to  within  a

minute for over 24 hours.

To  time  a piece of code, reset at  the

begining  and  read at the  end  of  the

code.

E.g.

CALL 62383

CALL 62399,no :REM time calls

CALL 62383

...     : REM your code

CALL 62399,ms :

?"Took";(ms-no)/50;"secs"

NB  note  the system clock  is  normally

considered  to be the routines at  62383

and 62399.

General Comments for the Emulator

Έχει γραφτεί από Chris Despoinidis
Παρασκευή, 30 Οκτώβριος 2015

----------------------------------------------------

Newbrain emulator

Programmed by Despinidis Chris

----------------------------------------------------

This emulator uses the raize z80 emulator.

The disassembly part in the debug screen is from the

pasmulator z80 emulator with very seceral modifications by me.

At first i used the pasmulator for emulating the z80 but

it was not a 100% z80 emulator so i switched to raize.

The newbrain emulator was first  programmed in Delphi version 5.0

using the following third party components:

Delphi X

Jedi code library

VGLib version 1



Hit more to get more info for these topics:

Starting

--------

Loading And Saving

------------------

Importing Files

----------------


Designing Characters

--------------------

Led Screen

----------

Changing Speed

--------------

Keyboard

--------

Hit more to get more info for these topics

Τελευταία ενημέρωση Παρασκευή, 30 Οκτώβριος 2015
Διαβάστε περισσότερα...

More Most Wanted ..

Υποβλήθηκε από Colin Appleby
Σάββατο, 30 Νοέμβριος 2013

Danish Newbrain User Group Magazines NB!03, NB!04, NB!05 for 1983 and the Danish "Brains" NewBrain Magazines for 1987 if they exist.

Mastermon program as sold in Denmark.

Information on LEASCO Pharmacutical Roms and User Manual for NewBrain.

Information on the Norway NewBrain User Group and need copies of their NewBrain User  Group Magazines.

Any help would be greatly appriciated.

Regards

UK Pound Sign for NewBrain Emulator ..

Υποβλήθηκε από Colin Appleby
Κυριακή, 20 Οκτώβριος 2013
If you are using a US Keyboard as I am on your Computer, when running the NewBrain Emulator press the Shift and * key for the UK Pound sign. The * key is on the KeyPad only.

Extending NewBrain Basic commands

Υποβλήθηκε από Colin Appleby
Τετάρτη, 14 Αύγουστος 2013

Has anyone wrote an assembly language program to extend the Newbrain Basic commands as suggeated in "The Newbrain Dissected" book by John Braga (Page 72). Address A2F9h Point to Keyword Table.

Similar to Simon's Basic program and cartridge for the Commodore 64 which extends the Basic v2 by 114 commands and the Simon's Basic Extension by another 91 Commands.

<< Αρχική < Προηγούμενα 1 2 Επόμενα > Τελευταία >>
Αποτελέσματα 1 - 9 από 14

Σύνδεση Χρήστη





Δεν έχετε λογαριασμό ακόμα; Δημιουργία λογαριασμού
Nb Rig

Στατιστικά

Γλώσσες: 2
Μέλη: 385
Νέα: 88
Σύνδεσμοι: 11
Visits since 15/09/2004
mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday870
mod_vvisit_counterYesterday903
mod_vvisit_counterThis Week870
mod_vvisit_counterThis Month18316
Έχουμε 22 επισκέπτες σε σύνδεση

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

cdesp: It is sad that Colin will not see this game as he has passed away a few days ago. (Ημερομηνία: 10/12/2016 13:35)
cdesp: Woodcutter by Brainwave Software is available for download (Ημερομηνία: 10/12/2016 13:30)
Colin: To: Jim Gerrie Excellent work converting the Valley program from NewBrain to TRS-80. I checked out your Facebook. Colin (Ημερομηνία: 02/11/2016 01:02)
Benevolentchum: Made a TRS-80 version of "Valley." See: https://www.facebook.com/groups/731424100317748/ (Ημερομηνία: 01/11/2016 13:39)
Colin: Has anyone got a copy of Mallard Basic for CP/M to run on the NewBrain. (Ημερομηνία: 25/10/2016 12:48)
Colin: Another program we are looking for called Woodcutter by Brainwave Software. Anyone got a copy as it is MIA. (Ημερομηνία: 11/10/2016 13:28)

Δεν σας επιτρέπετε η συγγραφή!

Δημοσκοπήσεις

Do you have a Newbrain Home Computer?

Αποτελέσματα

Συνδικάτο

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