UK Vintage Radio Repair and Restoration Powered By Google Custom Search Vintage Radio and TV Service Data

Go Back   UK Vintage Radio Repair and Restoration Discussion Forum > Specific Vintage Equipment > Vintage Computers

Notices

Vintage Computers Any vintage computer systems, calculators, video games etc., but with an emphasis on 1980s and earlier equipment.

Reply
 
Thread Tools
Old 12th Feb 2023, 4:56 pm   #181
ortek_service
Heptode
 
ortek_service's Avatar
 
Join Date: May 2018
Location: Northampton, Northamptonshire, UK.
Posts: 832
Default Re: Yet another MK14 tape interface (ESP32).

Quote:
Originally Posted by Mark1960 View Post
FF9-FFF are used to store users pointers and registers before and after calling users code. They are addressed using PC relative addressing from the low area of prom code to avoid using pointers as that would corrupt the user codes pointers. It seems the cassette loader was reusing the address for P1.
Thanks for info on what these are used for. So does that mean 0FF9-0FFF should never really have been used by user programs, if needing to return to the monitor? (And SCIOS v1 also used these?)

It might be useful to have an enhanced Memory-map diagram of:
http://81.174.146.201/acorn/Acorn%20...mory%20Map.pdf - that includes the parts reserved by the OS etc (like IIRC Siclair had in the original Spectrum manual)
ortek_service is offline   Reply With Quote
Old 12th Feb 2023, 5:13 pm   #182
Mark1960
Octode
 
Join Date: Mar 2020
Location: Kitchener, Ontario, Canada
Posts: 1,032
Default Re: Yet another MK14 tape interface (ESP32).

Probably best not to use FF9-FFF for code as it would be overwritten by pointer and register values on return to the monitor, but could be used for scratch pad if not using the single step function of the monitor. It might be possible to avoid the overwrite by jumping into the monitor at a different address, but pressing reset might have the same effect, though I havenít read through the code to check.
Mark1960 is offline   Reply With Quote
Old 12th Feb 2023, 8:07 pm   #183
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 9,732
Default Re: Yet another MK14 tape interface (ESP32).

So is it better to leave the fast uploader scratch variables at 0FF8-0FFA or move them down into the 'system variables' area 0F00-0F11?

In all cases the use of either area - 0F00-0F11 or 0FF8 - 0FFF for user code carries with it the certainty of corruption of some of the bytes in those areas on return to the monitor - even if the program auto-runs, if the user resets the computer for any reason the monitor will corrupt those areas and it will not be possible to manually re-run the program, it will have to be reloaded and autorun again.

This is just a known hazard of placing user code in either area.
SiriusHardware is offline   Reply With Quote
Old 12th Feb 2023, 10:16 pm   #184
Realtime
Pentode
 
Join Date: Jan 2021
Location: Ashford, Kent, UK
Posts: 143
Default Re: Yet another MK14 tape interface (ESP32).

The variables need to stay at FF8 because they are accessed using negative addressing relative to P2, which conveniently is zero after a reset. As relative addressing can only point +/- 128 bytes itís not possible to point all the way down to the F00 area. If P2 had to be initialised to point to F00 then the fast loader code would exceed the available space.
Realtime is offline   Reply With Quote
Old 12th Feb 2023, 10:35 pm   #185
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 9,732
Default Re: Yet another MK14 tape interface (ESP32).

Fair enough, they stay where they are.
SiriusHardware is offline   Reply With Quote
Old 12th Feb 2023, 10:57 pm   #186
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 9,732
Default Re: Yet another MK14 tape interface (ESP32).

You may ask, under what circumstances would you absolutely have to put code in 0F00-0F11 and / or 0FF8-0FFF?

Imagine an MK14 which has the full onboard 640 bytes of RAM.. and a VDU. You want to load and display a full screen (512 byte) graphic image on the VDU screen.

The only two 256-byte areas you can point the VDU at are 0F00-0FFF and 0B00-0BFF.

In this case you would format the Intel Hex file so that the pixel data bytes intended to go into screen RAM at 0F00-0F11 and 0FF8-0FFF are initially loaded into the I/O RAM instead.

You also load a small block shift program into I/O RAM which, when autorun, will copy the two blocks from I/O RAM to their correct locations within screen RAM, and then place the SC/MP into a forever loop so that it does not return to the monitor.

This is about the only way to display a full 512-byte screen image on an MK14 / VDU which only has onboard RAM.
SiriusHardware is offline   Reply With Quote
Old 13th Feb 2023, 7:22 pm   #187
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 9,732
Default Re: Yet another MK14 tape interface (ESP32).

Well, so here, as far as I know, are the world's first SCIOS V3 PROMs. I've gone with a different dot colour scheme to distinguish them from the blue / green dots of the late MK14 SCIOS.

U2 is red, U3 is yellow although I really wanted orange (Red=2, Orange=3) but try as I might I could not find anyone selling sticky 5mm orange dots, so yellow it is.

Although I don't have the offboard hardware to test their operation, I have had them installed in my Issue VI and I have used that to look through and check that the replacement code in the tape load / save area is byte for byte the same as in the .LST file attached in Coolsnaz2's post #168.

My programmer lets me load an 8-bit wide file and choose which nibble (upper or lower) to programme into the 4-bit wide PROM - for the benefit of others who may not have that feature on their programmer I have read the two programmed PROMs separately and saved them as two 512-byte files with the PROM code in the lower four bits of each byte, see the attached .zip file.

I'll put these in the post to Coolsnaz2 in the next day or so.
Attached Thumbnails
Click image for larger version

Name:	SCIOS_V3_PROMs.jpg
Views:	29
Size:	34.3 KB
ID:	273243  
Attached Files
File Type: zip MK14OSV3.zip (1.1 KB, 7 views)
SiriusHardware is offline   Reply With Quote
Old 13th Feb 2023, 10:26 pm   #188
ortek_service
Heptode
 
ortek_service's Avatar
 
Join Date: May 2018
Location: Northampton, Northamptonshire, UK.
Posts: 832
Default Re: Yet another MK14 tape interface (ESP32).

The free-download Dataman48Pro(+) etc, that you can run in Demo-mode without having the programmer, also has quite flexible load /save options.
And I recall previously using this to split PROM files into separate High/Low Nibble ones for Chris, when we wanted to verify against existing ones before committing to fresh PROM's.
ortek_service is offline   Reply With Quote
Old 17th Feb 2023, 12:09 pm   #189
coolsnaz2
Tetrode
 
Join Date: Aug 2020
Location: Wallington, Greater London, UK.
Posts: 60
Default Re: Yet another MK14 tape interface (ESP32).

Just a couple of pictures showing my MK14 issue VI board with SCIOS v3 PROMs installed and working. Thanks to all forum members who have helped me with this project. I can now load programs within seconds of powering on the MK14, so much better having the Fast Loader installed in the PROMs.

If you execute the Fast Loader on the MK14 and hit the button on the M5Stack Atom Lite the last 8 digits of the web server IP address are displayed. This helps you connect your web browser to the server if the router gives out dynamic IP addresses.
Attached Thumbnails
Click image for larger version

Name:	20230217_114036.jpg
Views:	26
Size:	66.7 KB
ID:	273415   Click image for larger version

Name:	20230217_114505.jpg
Views:	21
Size:	59.6 KB
ID:	273416  
coolsnaz2 is offline   Reply With Quote
Old 17th Feb 2023, 12:36 pm   #190
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 9,732
Default Re: Yet another MK14 tape interface (ESP32).

Nice to see that working!

Coolsnaz2 very kindly sent me some pre-programmed external hardware to try this setup out, although I will have to make myself a pair of SCIOS V3 PROMs to get the full benefit of it. I'm tied up with a visitor until some time next week so unfortunately I won't be able to play properly until then, but I'm looking forward to it.

Coolsnaz2, if you now feel that the M5STICK and ATOM side codes are 'stable' perhaps you could include them in a post here along with the documentation - you can attach any sort of file to a post as long as it's in a zip file that does not exceed the maximum allowed size for a .zip file.

It's up to you of course, but it would be good if all of the required code and documentation could be found in one place / one thread.
SiriusHardware is offline   Reply With Quote
Old 17th Feb 2023, 4:29 pm   #191
Realtime
Pentode
 
Join Date: Jan 2021
Location: Ashford, Kent, UK
Posts: 143
Default Re: Yet another MK14 tape interface (ESP32).

Quote:
Originally Posted by coolsnaz2 View Post

If you execute the Fast Loader on the MK14 and hit the button on the M5Stack Atom Lite the last 8 digits of the web server IP address are displayed. This helps you connect your web browser to the server if the router gives out dynamic IP addresses.
Thatís brilliant. I keep finding the IP address is re-allocated each time I power on. Look forward to trying that in due course.
Realtime is offline   Reply With Quote
Old 28th Feb 2023, 8:59 pm   #192
coolsnaz2
Tetrode
 
Join Date: Aug 2020
Location: Wallington, Greater London, UK.
Posts: 60
Default Re: Yet another MK14 tape interface (ESP32).

I will publish the ESP32 code and documentation soon on this thread, just need to complete some documentation to accompany the code. If anyone wants a pre-release copy, they can PM me.

ChrisOddy has obtained PROMs so he can start producing SCIOS V3, and is happy to supply them to forum members for £12 for a pair of PROMs incl postage, members will need to PM ChrisOddy with PayPal details.
coolsnaz2 is offline   Reply With Quote
Old 28th Feb 2023, 9:45 pm   #193
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 9,732
Default Re: Yet another MK14 tape interface (ESP32).

Kind of Chris to offer that service - I don't think my own limited supply of Philips/Signetics PROMs would have been able to stretch to everyone that might want V3 PROMs so I'm relieved that Chris has been able to step in.

I haven't forgotten that I need to make myself a V3 PROM set so I can play with the modules you sent, but I haven't had a lot of time to myself lately.
SiriusHardware is offline   Reply With Quote
Old 21st Mar 2023, 9:43 pm   #194
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 9,732
Default Re: Yet another MK14 tape interface (ESP32).

A question for Coolsnaz2 or anyone who already uses his fast loading system with an M5stickCplus - which of the connections G32 and G33 go to which connections on the issue VI rear? Coolsnaz2 was good enough to email me a draft of the manual for this version of his loading system but unfortunately it is in docx format and I don't have MS Office on any machine here at home, so I can't open it.

Last edited by SiriusHardware; 21st Mar 2023 at 9:53 pm.
SiriusHardware is offline   Reply With Quote
Old 22nd Mar 2023, 12:13 am   #195
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 9,732
Default Re: Yet another MK14 tape interface (ESP32).

Update: Coolsnaz2 has contacted me with the relevant details from his as yet un-finalised user manual for this version of his loader system.

Quote:
M5 StickC Plus HY2.0-4P (Grove Connector) to MK14 connections.
Connect pin 1 (Black) to MK14 GND.
Connect pin 2 (Red) to MK14 5V.
Connect pin 3 (G32)(Yellow) to MK14 SIN edge connector 27.
Connect pin 4 (G33)(White) to MK14 Sense B, edge connector 28.
I can also now confirm that the separate PROM code files I posted in #187 for the V3 OS containing Coolsnaz2's fast loader code are good - I was sure they were, but I have now been able to test my own V3 PROMs which were programmed from those files.
SiriusHardware is offline   Reply With Quote
Old 22nd Mar 2023, 4:42 am   #196
Brian of Romsey
Triode
 
Join Date: Jul 2017
Location: Cambridge, Cambridgeshire, UK
Posts: 46
Smile Re: Yet another MK14 tape interface (ESP32).

Quote:
Originally Posted by SiriusHardware View Post
... unfortunately it is in docx format and I don't have MS Office on any machine here at home, so I can't open it.
I would humbly suggest LibreOffice. It is free, well supported, in continuous development (so bugs are few and soon squashed). It can easily read MS formats like .doc and .docx. Available for Mac, Linux, and Windows. Download, install, and enjoy. Easy.

https://www.libreoffice.org/

Cheers, Brian.
Brian of Romsey is offline   Reply With Quote
Old 22nd Mar 2023, 8:13 am   #197
SiriusHardware
Dekatron
 
Join Date: Aug 2011
Location: Newcastle, Tyne and Wear, UK.
Posts: 9,732
Default Re: Yet another MK14 tape interface (ESP32).

Thanks Brian - I have a habit of keeping my various devices very clean with nothing on them that I do not regularly use. I'm aware of LibreOffice but have so little use for office type software in general that it would almost never be used. My go to 'Word Processor' is Wordpad - that's all I've ever used to write correspondence, etc for the entire time that I have been using Windows.

I've suggested to Coolsnaz2 that .PDF would be a better format for the finished document, as virtually all devices now have the 'native' ability to view PDFs via already included software (like Browsers, or some other integral utility.)
SiriusHardware is offline   Reply With Quote
Reply

Thread Tools



All times are GMT. The time now is 5:17 am.


All information and advice on this forum is subject to the WARNING AND DISCLAIMER located at https://www.vintage-radio.net/rules.html.
Failure to heed this warning may result in death or serious injury to yourself and/or others.


Powered by vBulletin®
Copyright ©2000 - 2023, vBulletin Solutions, Inc.
Copyright ©2002 - 2023, Paul Stenning.