Wednesday, June 22, 2022

Setting up a RISC OS development Environment

Installing software:

For this I have chosen to emulate RISC OS rather than have a separate set up with multiple keyboards/mice or using VNC (also, I don't want to buy a RPi 400 atm)

For this I have gone with RPCEmu and used their Quickstart package for RISC OS Direct 5.27

While this is not the latest version (as of 2022-06-23 it is now 5.28) I think this close enough.

As far as I am aware, all other emulators out there wont run 32bit RISC OS anyway.

I did notice that a fair few of the applications included with this quick start package are available under !PackMan but are not registered with this application. Meaning that if you want to install up to date versions, you will need to uninstall the provided ones or have the new ones overwrite the location they are in - most of these are not in default locations!

Once the program is downloaded and unzipped to a location of your choose in Windows, you can run it by double clicking on RPCEmu-Recompiler.exe, this runs better than the interpreter.

After a few moments (I believe the first run takes a bit more time than subsequent ones) you will be presented with the following screen:



Changing settings:

From here you can personalize the OS. For me I choose to do the following:
  • Change screen resolution to max. 1920x1080. Later on I will try set this higher as my host machine is running 3440x1440 !AnyMode?
  • Remove CD and floppy stuff as we wont be using these
  • Choose a new background
  • Auto run !Help, !StrongEd and !Netsurf
  • Auto run !Alarm and set format for the date to 2022-06-23 format %ce%yr-%mn-%dy
  • Change Time Zone
  • Change Theme to Raspberry
  • Change Keyboard Format to USA
  • Create a My Documents folder and pin to desktop

Screen resolution:

Haven't been able to figure out how to reliably change the resolution for a larger host desktop but the following seems to work:


And yes, I've done all the mucking around with Monitor files etc that I can.



Saturday, August 29, 2020

Getting the ESP8266 connected!

 Heh, this was a tad easier than I thought, after a bit of Googling of course.

Followed the instructions here and under Board Manager, select Generic 8266 Module

Once this one done, managed to upload the Blink example sketch and it is working.

I think next step is to try and attach a 16x2 text display then see if I can get it to access the Bacon Ipson API to print out some text!


Unsure of what sort of grunt I can expect out of such a tiny board, but Wi-Fi capable makes it pretty powerful in its own right! Next plans might be using BlueTooth to control the vest (once I fix it and make a new one that fits)

Monday, January 28, 2019

Web service to test WiFi Module

Web service to test WiFi Module

Will set up a small Laravel App to allows testing data being requested by the module. Will run on computer and share with local network. This post is to detail the setting up and sharing of a new Laravel app.

From the Laravel: Up & Running book page 17, Creating a new project:

I already have homestead set up for another project. I should detail that process in another post!

To create a new project with Homestead already installed:

cd ~/Homestead
vagrant up
vagrant ssh

After it has started up, navigate to where project files are kept, in my case:

cd /Sites

And create new project:

laravel new WiFiText

Now within host system, edit 

nano ~/Homestead/Homestead.yaml

And add in the proper place:

sites:
    - map: datecheck.test
      to: /home/vagrant/Sites/datecheck/public
    - map: wifitext.test
      to: /home/vagrant/Sites/WiFiText/public
      port: 81

databases:
    - homestead

ports:
      - send: 8080
        to: 81

Now edit your hosts file:

sudo nano /etc/hosts

Add in appropriate place:

192.168.10.10 datecheck.test wifitext.test


Edit Homestead.yawl to the following:

sites:
    - map: wifitext.test
      to: /home/vagrant/Sites/WiFiText/public
      port: 81
    - map: datecheck.test
      to: /home/vagrant/Sites/datecheck/public

databases:
    - homestead

ports:
    - send: 8100
      to: 81

On host machine:
For datecheck.test:
http://datecheck.test/
http://wifitext.test/
http://127.0.0.1:8000

For WiFiText.test:
http://wifitext.test:81/
http://datecheck.test:81/
http://127.0.0.1:8100

On networked machine:
For datecheck.test:
http://<machine name or IP>:8000
For wifitext.test:
http://<machine name or IP>:8100

Yay! Can finally access two sites from another device. I am unsure why this was not working and took several hours to work out...

Windows 11, Bare metal and in a VM!?!

 Wait what? Currently I run Pop OS 22.04 as my daily driver. I have the same installed on my work laptop. This came about as I found while d...