You will not be able to post if you are still using Microsoft email addresses such as Hotmail etc
See here for more information viewtopic.php?f=20&t=7296
See here for more information viewtopic.php?f=20&t=7296
BOOKMARK THIS PAGE !
https://www.exxosforum.co.uk:8085/IP_CHECK/
You can unban yourself if needed. It also sends me reports to investigate the ban.
https://www.exxosforum.co.uk:8085/IP_CHECK/
You can unban yourself if needed. It also sends me reports to investigate the ban.
DO NOT USE MOBILE / CGNAT DEVICES WHERE THE IP CHANGES CONSTANTLY!
At this time, it is unfortunately not possible to whitelist users when your IP changes constantly.
You may inadvertently get banned because a previous attack may have used the IP you are now on.
So I suggest people only use fixed IP address devices until I can think of a solution for this problem!
At this time, it is unfortunately not possible to whitelist users when your IP changes constantly.
You may inadvertently get banned because a previous attack may have used the IP you are now on.
So I suggest people only use fixed IP address devices until I can think of a solution for this problem!
Flashy Clock - Yet another DEV board
-
PhilC
- Moderator

- Posts: 7383
- Joined: 23 Mar 2018 20:22
Re: Flashy Clock - Yet another DEV board
LOL, ok. Well I'm pretty happy to get the chance to work with the one i've got.
If it ain't broke, test it to Destruction.
-
exxos
- Site Admin

- Posts: 28160
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Flashy Clock - Yet another DEV board
Still working on this all day every day..
Currently working on the program bank menu. Erase and verify are now working, I faked a fail to make sure it worked.
The top 206 bank is highlighted black, as that is the currently running bank and you cannot program that one because it is in use etc..
Next up is to program the actual TOS flashing and verify...
Currently working on the program bank menu. Erase and verify are now working, I faked a fail to make sure it worked.
The top 206 bank is highlighted black, as that is the currently running bank and you cannot program that one because it is in use etc..
Next up is to program the actual TOS flashing and verify...
You do not have the required permissions to view the files attached to this post.
-
rubber_jonnie
- Site Admin

- Posts: 14595
- Joined: 17 Aug 2017 19:40
- Location: Essex
Re: Flashy Clock - Yet another DEV board
Looking forward to getting my hands on one of these, and the HDMI adapter. So much so I will probably put off my 2nd H4 build!
Collector of many retro things!
800XL and 65XE both with Ultimate1MB,VBXL/XE & PokeyMax, SIDE3, SDrive Max, 2x 1010 cassette, 2x 1050 one with Happy mod, 3x 2600 Jr, 7800 and Lynx II
Approx 20 STs, including a 520 STM, 520 STFMs, 3x Mega ST, MSTE & 2x 32 Mhz boosted STEs
Plus the rest, totalling around 50 machines including a QL, 3x BBC Model B, Electron, Spectrums, ZX81 etc...
800XL and 65XE both with Ultimate1MB,VBXL/XE & PokeyMax, SIDE3, SDrive Max, 2x 1010 cassette, 2x 1050 one with Happy mod, 3x 2600 Jr, 7800 and Lynx II
Approx 20 STs, including a 520 STM, 520 STFMs, 3x Mega ST, MSTE & 2x 32 Mhz boosted STEs
Plus the rest, totalling around 50 machines including a QL, 3x BBC Model B, Electron, Spectrums, ZX81 etc...
-
exxos
- Site Admin

- Posts: 28160
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Flashy Clock - Yet another DEV board
H4 is the way of the future with all its compact addons :)rubber_jonnie wrote: 26 Apr 2020 12:28 Looking forward to getting my hands on one of these, and the HDMI adapter. So much so I will probably put off my 2nd H4 build!
-
exxos
- Site Admin

- Posts: 28160
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Flashy Clock - Yet another DEV board
The mind boggles...
There is a count on the first row, 0-1498.. If the number is higher, it goes to zero.. yep works..
The second number, is INCR C% (ADD 1) ...
Actual code line...
So we can see CL% goes to zero.. yep.. draw a line.. yep.. add 1.. nope, jumps to 259 ?! :WTF: :stars:
There is a count on the first row, 0-1498.. If the number is higher, it goes to zero.. yep works..
The second number, is INCR C% (ADD 1) ...
Actual code line...
Code: Select all
print #1,CL%,C%,BC%,L& ' debug to file
INCR CL% : IF CL%>BC% THEN CL%=0 : CALL DRAWLINENEW (C%,3,WRITEBAR%,PROGRAMBACK%) : INCR C% Code: Select all
1493 0 1498 262144
1494 0 1498 262144
1495 0 1498 262144
1496 0 1498 262144
1497 0 1498 262144
1498 0 1498 262144
0 259 1498 262144
1 259 1498 262144
2 259 1498 262144
3 259 1498 262144
4 259 1498 262144
-
exxos
- Site Admin

- Posts: 28160
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Flashy Clock - Yet another DEV board
Okay so I figured it out...kind of anyway...
The "fault" was in the subroutine itself...
Even highlighting 'X' it may not be so apparent.... Basically because OBJC_OFFSET returns X,Y and is not set by 'X' in the sub's declared variable 'X'.
The thing is though,At worst all this should have done is made 'X' simply the wrong number when it draws the bar, which it actually was doing.. Only I think because it was changing the count variable from the calling routine, I believe the compiler must have screwed up somewhere causing the value to be changed when it should not have been.. Of course the compiler would not have known that this would have been a error...
So the actual routine should have actually been..
:headbang:
The "fault" was in the subroutine itself...
Even highlighting 'X' it may not be so apparent.... Basically because OBJC_OFFSET returns X,Y and is not set by 'X' in the sub's declared variable 'X'.
The thing is though,At worst all this should have done is made 'X' simply the wrong number when it draws the bar, which it actually was doing.. Only I think because it was changing the count variable from the calling routine, I believe the compiler must have screwed up somewhere causing the value to be changed when it should not have been.. Of course the compiler would not have known that this would have been a error...
So the actual routine should have actually been..
:headbang:
You do not have the required permissions to view the files attached to this post.
-
exxos
- Site Admin

- Posts: 28160
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Flashy Clock - Yet another DEV board
Sneak preview on how easy it is to load use and programme a flash bank :)
-
exxos
- Site Admin

- Posts: 28160
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Flashy Clock - Yet another DEV board
Because TOS104 is 192K and not 256K like TOS206 etc, it slightly breaks my programming routine because of the different file length.. Technically does not matter do not program the remaining bytes, and indeed that is what the previous software did, and adjusted the progress bar accordingly.
However since writing the new software and splitting routines up into more sensible and manageable chunks, I ended up with a situation where I could not return the file length along with the location of the data in memory :roll: I could pass the file length as a global variable, But it just seemed a bit hacky :roll:
So my first idea was to use the "BLOAD" function, to load data into ram from a fixed variable size of 256K.. But my God, that function is slow! it literally takes several times longer to load in the file so I gave up with that approach.
My next idea was to do a loop along the lines of..
But it seriously sucked, it was literally still going five minutes later! :roll:
My next idea was to do this instead...
And that worked and was considerably fast. The problem being that RAM usage ended up doubling for some reason :roll: I can only assume however the routine works at it makes a copy of the whole string data and I had to literally allocate 650K RAM for it to work. Normally the program is happy with 350K... 256K is needed for loading the ROM image.. likely the RAM usage could be reduced at a later date anyway.. But my main concern here was that the software would no longer work on a 512K machine :roll:
So I went back to the original loading routine which was the fastest and just tried this for the hell of it...
Oddly now the RAM consumption I can set back to 350K. I guess some coders out there may know more technical reasons for this. I thought I would post about this "problem" as I thought it was a bit of a strange issue to have and not something I really considered about how strings work.
However since writing the new software and splitting routines up into more sensible and manageable chunks, I ended up with a situation where I could not return the file length along with the location of the data in memory :roll: I could pass the file length as a global variable, But it just seemed a bit hacky :roll:
So my first idea was to use the "BLOAD" function, to load data into ram from a fixed variable size of 256K.. But my God, that function is slow! it literally takes several times longer to load in the file so I gave up with that approach.
My next idea was to do a loop along the lines of..
Code: Select all
WHILE L& < 262144
F$=F$+"FF":INCR L&
WEND My next idea was to do this instead...
Code: Select all
IF L& < 262144 THEN F$=F$+SPACE$(262144-L&)So I went back to the original loading routine which was the fastest and just tried this for the hell of it...
Code: Select all
OPEN fspath$+fi$ FOR INPUT AS #1
L&=LOF(1)
F$=INPUT$(L&,#1) + SPACE$(262144-L&)
CLOSE #1-
troed
- Posts: 936
- Joined: 21 Aug 2017 22:27
Re: Flashy Clock - Yet another DEV board
Very language dependent ... but my guess would be that when evaluating "STRING$ = STRING$ +" it does make a copy of STRING$ first to be able to do the concatenation independent of the original.
-
exxos
- Site Admin

- Posts: 28160
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Flashy Clock - Yet another DEV board
So @Icky and I haven't had much time for this project lately :( A lot of problems are down to the fact the company we used to assemble stuff has been closed for some months and is likely to remain closed for a while yet. The lockdown we have both been maxed out with all sorts of work anyway :(
There are other companies I have tried to assemble stuff, but they want £30-£40 to assemble low volume boards. I'm not really comfortable just slapping on that on the final price as with all the chips on it already, it is already getting rather expensive.
Currently I am purchasing some more SMT gear so I can build up the (hopefully) final boards for testing. I'm currently tweaking the cream layer on the PCB to get a stencil made, which I think will help with a lot of soldering issues.
Once these boards are finalised, I just need to fix some graphical issues on the software mostly. The software can be fixed at a later date if needs be anyway. It is perfectly usable how it is now currently anyway.
Also, I said before, we are going to develop a H5 version which will not need the 3.3V IO buffers. So H5 versions will be cheaper to produce. Once those buffers are removed, I have plans to add another small chip on to do something else really cool :)
There are other companies I have tried to assemble stuff, but they want £30-£40 to assemble low volume boards. I'm not really comfortable just slapping on that on the final price as with all the chips on it already, it is already getting rather expensive.
Currently I am purchasing some more SMT gear so I can build up the (hopefully) final boards for testing. I'm currently tweaking the cream layer on the PCB to get a stencil made, which I think will help with a lot of soldering issues.
Once these boards are finalised, I just need to fix some graphical issues on the software mostly. The software can be fixed at a later date if needs be anyway. It is perfectly usable how it is now currently anyway.
Also, I said before, we are going to develop a H5 version which will not need the 3.3V IO buffers. So H5 versions will be cheaper to produce. Once those buffers are removed, I have plans to add another small chip on to do something else really cool :)
Who is online
Users browsing this forum: CCBot and 2 guests