¿ Se pueden usar 80 columnas en NewBrain Basic ?

Avatar de Usuario
ron
Mensajes: 21878
Registrado: 28 Oct 2010 14:20
Ubicación: retrocrypta
Agradecido : 3883 veces
Agradecimiento recibido: 4787 veces

¿ Se pueden usar 80 columnas en NewBrain Basic ?

Mensajepor ron » 25 Oct 2012 21:03

Código: Seleccionar todo

TEXT MODES       : 80 columnas x 25-30 líneas / 40 columnas x 25-30 líneas
GRAPHIC MODES : Desde 256 x 10 a 640 x 220 pixels


Con el expansor y la controladora de discos el CP/M se inicia en 80 columnas, pero desde BASIC ???

2) ENTERING THE CP/M SYSTEM
------------------------
With the 32K CP/M system this can be done by using the command "CPM" from BASIC or by pressing the stop key on powerup. The 64K system can only be
entered by selecting "CP/M 2.2" from the system menu. The system information will be read from drive A and the copyright message will be displayed. At
this point if an initial command has been set by the SETINIT program it will be executed. Otherwise the CP/M prompt "A>" will be displayed.


SCREEN CODES
------------
The screen used by CP/M is similar to the normal screen editor except it is much simpler. It operates on a 25 by 80 screen using the normal character
set. Characters whose top bit are set will display according to the current TV mode. When the last column has been typed to the cursor stays on the last
character but changes from a line to a block to indicate that the next character typed will appear on the next line. Those control codes not listed
below will perform no action at the moment, but they may be made to do something at a later time and should be avoided.

00H - Null. No action.
01H - Insert Line. The lines below the current line (if any) are scrolled down. The current line is cleared and the cursor is moved to the left hand side.
02H - Delete Line.The current line is deleted and the lines below (if any) are scrolled up. A blank line is inserted at the bottom of the screen.
03H - Delete To The End Of Line. The character at the cursor and all characters to the right of it (if any) are converted to spaces.
05H - Cursor Off. The cursor will cease to flash.
06H - Cursor On. The cursor will start to flash.
08H - Backspace. The cursor is moved one space to the left, or if it was on the left hand side to the right hand side but one of the above
line (the 80th character). If the cursor was at the top-left corner, it is moved to the top-right corner.
09H - Tab. Spaces are printed until the column number is a multiple of 8. A NEWLINE is taken if necessary.
0AH - Cursor Down.The cursor is moved one space down, and if the cursor was at the bottom of the screen, the screen is scrolled up and a blank
line inserted at the bottom.
0BH - Cursor Up. The cursor is moved up one line, unless it was already at the top line.
0CH - Cursor Home. The cursor is moved to the top left corner.
0DH - Carriage Return. The cursor is moved to the left of the current line.
11H - Insert Mode. Further non-control characters are inserted at the cursor position, with the character previously at the cursor position and characters to the right of it moved to the right. Characters overflowing the right hand side of the screen are lost. This mode is cancelled when another control character is sent.
16H - Set Cursor Position. Following this control code the next two characters sent are interpreted as the column and row number to which
the cursor should be set. The column number should be sent first. The top row is row 1 and the left most column is column 1.
17H - Set TV Mode. Following this control code the next character sent will set the TV control register whenever that screen is being displayed.
Only bits 0 and 1 are interpreted. Bit 0 determines the background colour (0 means background dark, 1 background bright). Bit 1 determines
how characters with bit 7 set are interpreted (0 gives reverse characters, 1 allows 256 character set).
18H - Delete Left. The character to the left of the cursor is deleted and subsequent characters are moved one position to the left.The cursor is
moved one position leftwards. If the cursor was in the leftmost column, no action is taken.
19H - Delete. The character at the cursor is deleted and subsequent characters are moved one position to the left.
1AH - Cursor Right. The cursor is moved one position to the right, or if it was beyond the rightmost column (with block cursor) it is moved to the
second column on the next line.
1BH - Escape. The following character is not interpreted as a control code, except for 0, which is always ignored.
1CH - Cursor Home Left. As carriage return.
1DH - Cursor Home Right. The cursor is moved to the right most column in the line (with block cursor).
1EH - Clear Line.The current line is written with spaces and the cursor moved to the left hand side.
1FH - Clear Screen.The screen is cleared and the cursor is moved to the top left corner.


nbscreenrm.png


nbscreenrm2.png


Y tras una búsqueda más afinada...

Imagen
seraestonb2.png
seraestonb2.png (58.17 KiB) Visto 1801 veces


Ya lo voy teniendo más claro, si alguien quiere ayudar a ver como se pueden usar las 80 columnas desde Basic...

Avatar de Usuario
ron
Mensajes: 21878
Registrado: 28 Oct 2010 14:20
Ubicación: retrocrypta
Agradecido : 3883 veces
Agradecimiento recibido: 4787 veces

Re: ¿ Se pueden usar 80 columnas en NewBrain Basic ?

Mensajepor ron » 21 Mar 2024 20:33

Hago un pequeño refresh

si hacemos :

open #0,0,"L40" esto nos pasara a una pantalla de 80 columnas, pero solo mostrará 40.
open #0,0,"L80" <--- Bingo !!!!

nb80.png
nb80.png (134.16 KiB) Visto 235 veces


Tenerlo delante y no verlo... -507 -rofl -no

nbbasic1.png
nbbasic1.png (4.24 KiB) Visto 233 veces

las80.png
las80.png (2.55 KiB) Visto 233 veces

Adelingue2001
Mensajes: 11
Registrado: 20 Feb 2024 15:15
Agradecido : 8 veces
Agradecimiento recibido: 4 veces

Re: ¿ Se pueden usar 80 columnas en NewBrain Basic ?

Mensajepor Adelingue2001 » 21 Mar 2024 21:19

Ese equipo se merece uno o más directos en Tuich,
La primera vez que lo vi en la enciclopedia NuevaLente, me dejó intrigado que pudiera ampliarse hasta 2Mb!! En 1985, jjjj

Avatar de Usuario
ron
Mensajes: 21878
Registrado: 28 Oct 2010 14:20
Ubicación: retrocrypta
Agradecido : 3883 veces
Agradecimiento recibido: 4787 veces

Re: ¿ Se pueden usar 80 columnas en NewBrain Basic ?

Mensajepor ron » 22 Mar 2024 00:12

Fuera bromas. Lo del NewBrain es un tema serio.

Empiezo con una broma, de las que le gustan a Minter y hablamos un segundo aprovechando este mismo hilo de ya no ordenadores oscuros, sino de casi incunables y el NewBrain no es excepción.

microimperionb.png
microimperionb.png (98.08 KiB) Visto 182 veces


Más de uno se va a reír, pa eso estamos, los condensadores con sello de calidad Sith, tremendo eso... -507 -rofl

Si tienes un NewBrain, como mucho tienes una cinta. O sea, material migrado para usar con emuladores hay, ¿ pero que ha pasado con el formato nativo ?. No encuentro ni wavs, ni formato cinta y de discos vamos, mejor no comento. Te los tienes que montar tu.

Ya tener la expansión con controladora y funcionando es nivel dios, pero y los DSK ? , pero ¿ donde ?

Te los tienes que montar tu con la cfg de NewBrain y las CP/M Tools y luego rezar para que el MESS lo reconozca. Pero claro, en físico, si no tienes el síndrome sith de los condensadores y te funciona, aparte de picar 4 cositas en un Basic que se me antojaba interesante para la época, a día de hoy solo lo puedes disfrutar con emuladores como el NBEmu de Chris Desp o incluso en MESS... pero no hay software.

En todos estos años alguna vez he encontrado algo así suelto, pero que vamos....de lo poco que lo hace así interesante es el CP/M, que además se las trae. Da para un hilo nuevo.

Máquina oscura, tampoco del todo, porque también se vendieron en España y conozco gente que los tuvo. El que yo tuve lo tiene ahora otro usuario de la casa que seguro que le saca partido, porque lo que se trata del NewBrain en cuanto a software... como alguno no tire un cable, vamos dados.

Luego en cuanto a documentación y tal, está bastante bien. Hay unos cuantos manuales y guías que vale, te permiten conocer un poco mejor la máquina pero dudo que nadie se ponga a hacer nada si no hay donde correrlo.

Se que se está trabajando en un core fpga, pero va para largo, es de esas cosas que van despacito y con buena letra.

En Resumen, poco que mostrar, cuando tengamos el core ya veremos, porque eso lo democratizaría muchísimo, lo haría accesible a todos los que tengan una fpga y de alguna forma lo podrán conocer y disfrutar, ojo, si aparecen los volcados por algún sitio y no me refiero a las ROM o al propio cop420.

Así que el NewBrain sigue estando en una galaxia muy lejana. Ojala venga alguien y postee y ponga luz a este asunto.

jltursan
Mensajes: 5648
Registrado: 20 Sep 2011 13:59
Ubicación: Madrid
Agradecido : 1004 veces
Agradecimiento recibido: 2050 veces
Contactar:

Re: ¿ Se pueden usar 80 columnas en NewBrain Basic ?

Mensajepor jltursan » 22 Mar 2024 08:43

Sí, desgraciadamente sigue siendo uno de los incunables y muy poco extendido. El hardware original cuesta trabajo mantenerlo funcionando (precisamente no hace mucho pasó una revisión con éxito ;-)) y, en fin, tienes que ser un poco manitas si quieres tener uno de estos sin que acabe convirtiéndose en un ladrillo.

Yo tengo algunos discos de software CP/M y recientemente he dejado fino un kit para volcar discos con una Greaseweazle, no había caído todavía en que el Newbrain es un perfecto candidato para crear esos volcados. Voy a ver si es posible conseguirlo de manera que puedan emplearse con algún emulador.

Avatar de Usuario
ron
Mensajes: 21878
Registrado: 28 Oct 2010 14:20
Ubicación: retrocrypta
Agradecido : 3883 veces
Agradecimiento recibido: 4787 veces

Re: ¿ Se pueden usar 80 columnas en NewBrain Basic ?

Mensajepor ron » 22 Mar 2024 10:02

Buenas mr. tursan !!!

Bueno, aparte de lo malo queda lo bueno. Es una máquina de 1981, de las primeras del boom de los santos griales. Un micro que pese a venir de serie con 32K de RAM ( era la norma en aquel tiempo ) con su Expansión podías llegar a tener una máquina con 64K ( ampliable a 2 MB ) y CP/M.

Por eso venía este post, porque no tenía sentido que en CP/M funcione con 80 columnas y en Basic no, cuando el video ya lo incluye.

Emuladores básicamente tienes dos. El NBEmu que es más una suite NewBrain para Win hecha en pascal y por otro lado el MESS ( mame ) que desde que se abrió la caja de pandora del COP420 parece que finalmente le implementaron todo lo que le faltaba, incluida la controladora.

Con el NBEmu, manejas ficheros planos de NB en directorios. No manejas media nativa.
Con el Mess si manejas media nativa, pero no la hay.

He encontrado imágenes de disco y de cinta de micros como el Camputers Lynx, Eaca Colour Genie, pero del NewBrain y mira que llevo buscado, hay tanto como funkos en el cajón de minter, nasty de plasty. -no

nbts01.png
nbts01.png (20 KiB) Visto 141 veces


Y cuando llega el momento de que le quieres dar de comer....

nbjt02.png
nbjt02.png (20.14 KiB) Visto 141 veces


Entonces...?, pasa lo de siempre que llegas a punto muerto. Picas 4 mierdas en Basic y hasta que te vuelva a dar por ahí-.

Desde mi punto de vista el core fpga es la solución al problema, pero... de algún sitio ha tenido que salir la ingente cantidad de software que hay disponible para el NBEmu de Chris Desp, es un misterio que llevo años intentando sacar y ahora es un buen momento. De ahí que podría ser clave para democratizar el NewBrain y hacerlo accesible a todo el mundo aunque sea de forma sintética, algo es algo.

Avatar de Usuario
ron
Mensajes: 21878
Registrado: 28 Oct 2010 14:20
Ubicación: retrocrypta
Agradecido : 3883 veces
Agradecimiento recibido: 4787 veces

Re: ¿ Se pueden usar 80 columnas en NewBrain Basic ?

Mensajepor ron » 22 Mar 2024 10:10

Voy a aprovechar para dejar info a mano por si os pica. Se trata de que la curiosidad pique y luego sin anzuelos, si se puede sacar algo ...

https://github.com/flypie/NewBrain
Newbury/Grundy NewBrain schematics
Creating a KiCAD schematic for the NewBrain and hopefully progressing on to a buildable version with COP420 replaced.

https://github.com/cdesp/Newbrain-Laptop
Newbrain-Laptop

https://github.com/cdesp/NB-Emulator-V.3
Newbrain Emulator Pro Version 3
www.newbrainemu.eu

Avatar de Usuario
cacharreo
Mensajes: 1072
Registrado: 03 Jun 2023 09:37
Ubicación: /home/cacharreo/
Agradecido : 302 veces
Agradecimiento recibido: 630 veces

Re: ¿ Se pueden usar 80 columnas en NewBrain Basic ?

Mensajepor cacharreo » 22 Mar 2024 11:06

ron escribió:Newbury/Grundy NewBrain schematics
Creating a KiCAD schematic for the NewBrain and hopefully progressing on to a buildable version with COP420 replaced.

Con mucho énfasis en hopefully pero aún así, he echado un vistazo a los esquemas y sorprendentemente aquí sigo para poder contarlo pero las placas, ¡ay, qué placas! :cry: y lleva casi 4 años en ese estado.

Me encantaría poder dar mejores noticias pero quiero entender que inicialmente se planteó el proyecto y después, es posible que por circunstancias personales, el autor se viera obligado a abandonarlo.
© cacharreo

Avatar de Usuario
ron
Mensajes: 21878
Registrado: 28 Oct 2010 14:20
Ubicación: retrocrypta
Agradecido : 3883 veces
Agradecimiento recibido: 4787 veces

Re: ¿ Se pueden usar 80 columnas en NewBrain Basic ?

Mensajepor ron » 22 Mar 2024 11:29

Hay que escarbar a base de bien, pero en la red está todo. Os dejo alguna cosa si RW me deja subirlo.

Imagen
newbrainsche1.jpg
(182.11 KiB) No descargado aún




Este a mi opinión es de lo mejor.
newbrain.pdf.zip
(1.06 MiB) Descargado 3 veces




NewBrain Service Manual Rev 1.pdf.zip
(276.14 KiB) Descargado 3 veces


Volver a “NewBrain”

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 4 invitados