with little shame update smartest1613

discussion of beeb/electron applications, languages, utils and educational s/w
duikkie
Posts: 2660
Joined: Fri Feb 07, 2014 3:28 pm

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby duikkie » Thu Jun 04, 2015 8:47 pm

i have to find a way to install turbo writting after the card is known to the software. i think that is the error in the 306 software.
tomorrow i will look where the problem is.

it is very difficult to test , if you don't have the hardware :)

the 99p board i can test :)

edit maybe it is a timming thing ???

User avatar
DutchAcorn
Posts: 1587
Joined: Fri Mar 21, 2014 9:56 am
Location: Maarn, Netherlands

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby DutchAcorn » Fri Jun 05, 2015 6:43 am

duikkie wrote:.. is you turbo board and sd card still working ?? ( version 206 software ??) ...

Yes, 0206 works on my Turbo board.
Paul

duikkie
Posts: 2660
Joined: Fri Feb 07, 2014 3:28 pm

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby duikkie » Fri Jun 05, 2015 10:05 am

oke nothing broken then :roll: ,
i think the problem is in the timing.
before the card is know to the software and allso the turbo board , is read and writes commando's , first all for the cheap board at the end , it must be turbo ?

so at the end i program bufchip=8 and the turbowritting kicks in. i think the routine is to fast :shock: , it do not wait for the responce time of the card.

i will program with the old 6502 from turbo rom , i do not understand the code
but if thats works , then my code is wrong :)

i do not know if i have the space for the old turbo rom codes in the rom yet

it is very difficult to program something , without having the hardware :)
i will look if i have somewhere a buffer , so i can make a turboboard exp. board


DutchAcorn wrote:
duikkie wrote:.. is you turbo board and sd card still working ?? ( version 206 software ??) ...

Yes, 0206 works on my Turbo board.

duikkie
Posts: 2660
Joined: Fri Feb 07, 2014 3:28 pm

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby duikkie » Mon Jun 08, 2015 1:28 pm

edit :
little error in version 0306. if you don't push something on stack
then if you pull something from stack goes wrong :)

by turbowrite insert jsr stackvia, before jmp backvia :)

maybe it is now running. if not then it can be timming ??

pha:pla:jsr wait(nop:nop:nop:nop:rts)==== >> jsr checkshift ( lda ifr:and #4:bne check:rts)


try 0806 if you have turbo board.
Attachments
SMARTEST0806.zip
(78.9 KiB) Downloaded 44 times

User avatar
DutchAcorn
Posts: 1587
Joined: Fri Mar 21, 2014 9:56 am
Location: Maarn, Netherlands

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby DutchAcorn » Mon Jun 08, 2015 8:18 pm

On the 0806 version I get a MMC Read fault 09/000480 at start-up, using turbo hardware. :(

With a SDHC card it does not start at all (only "BBC Computer 32K"), until I remove the card.
Paul

duikkie
Posts: 2660
Joined: Fri Feb 07, 2014 3:28 pm

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby duikkie » Mon Jun 08, 2015 8:49 pm

damm

i will put the turbo code with the nop:nop:nop in tommorrow
if that is still wrong , i will make later this year a buffer before the cheap card holder. ( i hate when i can't check it before posting )

i will look when the read fault kicks in .

maybe i will be smart tomorrow :shock:



DutchAcorn wrote:On the 0806 version I get a MMC Read fault 09/000480 at start-up, using turbo hardware. :(

With a SDHC card it does not start at all (only "BBC Computer 32K"), until I remove the card.

duikkie
Posts: 2660
Joined: Fri Feb 07, 2014 3:28 pm

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby duikkie » Tue Jun 09, 2015 6:56 am

ben weer reuze benieuwd :)

i have changed the jsr checkshift rountine with the not understanding one
jsr waitwait (pha:pla:jsr niets4 (nop:nop:nop:nop:rts))
Last edited by duikkie on Tue Jun 09, 2015 5:00 pm, edited 1 time in total.

User avatar
DutchAcorn
Posts: 1587
Joined: Fri Mar 21, 2014 9:56 am
Location: Maarn, Netherlands

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby DutchAcorn » Tue Jun 09, 2015 3:51 pm

Still a MMC Read fault 09/000480 at start-up for the MMC card, MMC Read fault 09/00E880 for the SDHC card now. :(

With the MMC card I can "recover" with a D-Break -> that brings me back to DFS. Not so with the SDHC card inserted, that will hang up after "BBC Computer 32K".
Paul

User avatar
DutchAcorn
Posts: 1587
Joined: Fri Mar 21, 2014 9:56 am
Location: Maarn, Netherlands

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby DutchAcorn » Tue Jun 09, 2015 3:57 pm

Should have tested this right away :oops: :

With a normal SD card (2GB) it does work in the Turbo MMC hardware. Will check turbo mode later...
Paul

duikkie
Posts: 2660
Joined: Fri Feb 07, 2014 3:28 pm

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby duikkie » Tue Jun 09, 2015 4:59 pm

i don't get it ?? , i leave the turbo writting for what it is.

version 0206 is the last one.

when the year wiil end and the days , will be cold again

i will build a exp turbo board, so i can test it before i upload
andmore versions.

so no turbo writting anymore :shock:

the problem is i can't disamble the code if i don't have the hardware

User avatar
DutchAcorn
Posts: 1587
Joined: Fri Mar 21, 2014 9:56 am
Location: Maarn, Netherlands

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby DutchAcorn » Tue Jun 09, 2015 6:20 pm

Both 0806 and 0906 versions work with a regular SD card in Turbo hardware, just not with a MMC or SDHC card.

Also checked the 0906 version with 99P hardware: that works with all types of cards.
Paul

duikkie
Posts: 2660
Joined: Fri Feb 07, 2014 3:28 pm

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby duikkie » Tue Jun 09, 2015 7:22 pm

oke but that do not change things very much , i can not check it. (don't have the hardware) . i do think it is a timeing thing. because mmc is slower and sdhc is faster ??

with 99p hardware there is never turbo writing. so the routine for turbo writting is not good.

DutchAcorn wrote:Both 0806 and 0906 versions work with a regular SD card in Turbo hardware, just not with a MMC or SDHC card.

Also checked the 0906 version with 99P hardware: that works with all types of cards.

duikkie
Posts: 2660
Joined: Fri Feb 07, 2014 3:28 pm

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby duikkie » Wed Jun 10, 2015 6:55 am

i think i know why there is the change codes in the turbo rom , for turbo writing
idem about i don't get it :)

the turbo upwrite is slow for the first time, then it sets bit 7 in fe62 ( #&9f or ora #&80) , this is only if there is a next upwrite byte. if between upwrite byte there is a read byte the fe62 ( bit 7) is zero again.

so only if there is more then one byte writting to card it is turbo.

i will program turbo writing only in the 256 byte writting :)

maybe that is the problem ???

duikkie
Posts: 2660
Joined: Fri Feb 07, 2014 3:28 pm

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby duikkie » Wed Jun 10, 2015 9:10 am

because i think i understand the strange codes in turbo rom

i did make turbo writting only is 256 are written

if only a few or 255 bytes are written it will be slow writting

maybe now the timming is right ?
Attachments
SMARTEST1006.zip
(78.99 KiB) Downloaded 55 times

User avatar
DutchAcorn
Posts: 1587
Joined: Fri Mar 21, 2014 9:56 am
Location: Maarn, Netherlands

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby DutchAcorn » Wed Jun 10, 2015 8:19 pm

Yes it works!!! =D> =D>

Also did a read/write test using the infamous *backup:
Turbo MMC: 11.8 seconds
Smart SPI 0905: 1:05:81 (well over a minute)
Smart SPI 1006: 18.7 seconds!

Evidently turbo writing works! Not as fast as Turbo MMC, but you explained that earlier.
Paul

duikkie
Posts: 2660
Joined: Fri Feb 07, 2014 3:28 pm

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby duikkie » Wed Jun 10, 2015 8:55 pm

oke then , this must be the last version , for this moment.

docu after the holiday in GB :)

TEST IT TEST IT TEST IT :)


DutchAcorn wrote:Yes it works!!! =D> =D>

Also did a read/write test using the infamous *backup:
Turbo MMC: 11.8 seconds
Smart SPI 0905: 1:05:81 (well over a minute)
Smart SPI 1006: 18.7 seconds!

Evidently turbo writing works! Not as fast as Turbo MMC, but you explained that earlier.

User avatar
tricky
Posts: 1823
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby tricky » Sat Aug 01, 2015 1:04 pm

I'm running on an issue 7 board with an 8271 but with dfs 0.90 removed and SMART.R from 1006 and it recognises all my cards and all my 99p mmcs except the mmc+card that I fried by connecting the cable wrongly!

This is a great step forward ;)

If I run my FINDSWR program from my AstroBlaster disk to find SWRAM banks, which accesses the user port and then do *DISC, I get:
User port conflict
I then have to do *CARD to get the mmc working again, but then the current disk has been reset and I can't continue without *DIN 6 which is a small step backwards from the superMMC, where *DISC would make the MMC continue to work without loosing the currently selected disk.

Would it be possible to reset the MMC without any *DISC or *CARD on the next disc access.

If that is not possible, could *DISC leave the current card selected and reset the MMC.

If neither is possible, could *CARD have a way to keep the current disc selected or at least make it select the disc that was last set with *DONBOOT?

I hope this doesn't sound ungrateful, I think the work you have done here is fantastic.

duikkie
Posts: 2660
Joined: Fri Feb 07, 2014 3:28 pm

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby duikkie » Sat Aug 01, 2015 2:13 pm

upload your findswr program , then i can look what the program does
to get :
USER PORT CONFLICT is when you are using the pb lines dubble

so if your mmc board card is using pb0/pb1 ( normal)
and you use ?&fe60=9 : ?&fe62=15 , you have a conflict.

what you can try with an other mcc board is NOT USING pb0/pb1 , but PB5/PB4
what i have done with (stl sideway old style use pb0,pb1,pb2).

*mmc or *card will clean all values from &d00.. &d90 to zero. then fill it with
the master values. nothing to do about that
this cleans the oldfe60 and oldfe62 stored. in memory

what you can try is to clear only the oldfe60, oldfe62 value in &d00 block

&d50=oldfe62 ,,, &d51=oldfe60.

?&d50=0:?&d51=0, will solve your userport conflic, but your swr will not work.

you have to wait a little bit longer , when i write
the advanced programmers guide for SMART SPI rom :shock: :P



tricky wrote:I'm running on an issue 7 board with an 8271 but with dfs 0.90 removed and SMART.R from 1006 and it recognises all my cards and all my 99p mmcs except the mmc+card that I fried by connecting the cable wrongly!

This is a great step forward ;)

If I run my FINDSWR program from my AstroBlaster disk to find SWRAM banks, which accesses the user port and then do *DISC, I get:
User port conflict
I then have to do *CARD to get the mmc working again, but then the current disk has been reset and I can't continue without *DIN 6 which is a small step backwards from the superMMC, where *DISC would make the MMC continue to work without loosing the currently selected disk.

Would it be possible to reset the MMC without any *DISC or *CARD on the next disc access.

If that is not possible, could *DISC leave the current card selected and reset the MMC.

If neither is possible, could *CARD have a way to keep the current disc selected or at least make it select the disc that was last set with *DONBOOT?

I hope this doesn't sound ungrateful, I think the work you have done here is fantastic.

User avatar
tricky
Posts: 1823
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby tricky » Sat Aug 01, 2015 2:31 pm

When I make another cable, I will make it pb4/5.

Is there no way to get *DISC to do what it used to do, as poking around in &Dxx may not work on all systems.

Actually, I can test if "Smart SPI" is installed and add *CARD instead of *DISC, is there an address that I can get the currently selected *DIN?

duikkie
Posts: 2660
Joined: Fri Feb 07, 2014 3:28 pm

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby duikkie » Sat Aug 01, 2015 3:35 pm

put your programs and how things must run on a ssd file and upload it.
i do not understand , why you have to use *disc ? and mmc card to run things

the *din value is not stored, in that way . the number is a calcutation to a number where in file beebxxxx.mmb the disc is stored.
is is nearly impossible but &d06..&doC is the offset of din0 and then further ( see how beeb.mmb is build up)
the *din 6 offest maybe at &d23.. &d27 but can be not there anymore. and &a2..&a6 you can't use !!!

tricky wrote:When I make another cable, I will make it pb4/5.

Is there no way to get *DISC to do what it used to do, as poking around in &Dxx may not work on all systems.

Actually, I can test if "Smart SPI" is installed and add *CARD instead of *DISC, is there an address that I can get the currently selected *DIN?

duikkie
Posts: 2660
Joined: Fri Feb 07, 2014 3:28 pm

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby duikkie » Sat Aug 01, 2015 3:39 pm

*card will reset all things .

just leave the *disc command for floppy disc access.

User avatar
tricky
Posts: 1823
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby tricky » Sat Aug 01, 2015 4:54 pm

I'm on my phone now, but disk is here http://www.retrosoftware.co.uk/forum/download/file.php?id=831 *FINDSWR description is here http://www.retrosoftware.co.uk/forum/viewtopic.php?f=19&t=912&p=7291#p7270
The *DISC in LOADSWR are to reset the mmc and allow the program to continue to run and access the mmc after accessing the user port has stopped the mmc from working.
If I don't do the *DISC,I can't read any more data.
With the super spi,I would have to change the*DISC to be*Card *din 99 and get the user to change the 99 to whichever slot they have their .ssd.

duikkie
Posts: 2660
Joined: Fri Feb 07, 2014 3:28 pm

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby duikkie » Fri Aug 21, 2015 5:46 pm

found and error in the command *drecat.
who use this command anyway ??

solution : smarttest2108 :)
Attachments
SMARTEST2108.zip
(59.9 KiB) Downloaded 44 times

User avatar
tricky
Posts: 1823
Joined: Tue Jun 21, 2011 8:25 am
Contact:

Re: NEW SMART rom: fix error *drecat 2108

Postby tricky » Fri Aug 21, 2015 10:55 pm

I've never used that command, I only read from disc or occasionally save from basic

duikkie
Posts: 2660
Joined: Fri Feb 07, 2014 3:28 pm

Re: NEW SMART rom: fix error *drecat 2108

Postby duikkie » Sat Aug 22, 2015 5:41 am

it is very unusefull command :) , if you use *title it is also changed in *dcat
but it was a command and in the 1006 version i did not change it in the byte/block access thing. so it was not working all was menu :oops:

maybe there are more things i overlooked .

i am working on the source files to make them readble , i lot of testing stuff and strange thinks are still there in martins files.


tricky wrote:I've never used that command, I only read from disc or occasionally save from basic

User avatar
DutchAcorn
Posts: 1587
Joined: Fri Mar 21, 2014 9:56 am
Location: Maarn, Netherlands

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby DutchAcorn » Sat Aug 22, 2015 8:32 am

duikkie wrote:found and error in the command *drecat.
who use this command anyway ??

solution : smarttest2108 :)


I have never used *drecat. What does it do? :oops: :?:
Paul

duikkie
Posts: 2660
Joined: Fri Feb 07, 2014 3:28 pm

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby duikkie » Sat Aug 22, 2015 10:54 am

really nothing :) , it collect all *titles from all *din put it in the first sectoren of the beebxxxx.mmb file . so that *dcat can show them.

but allso *title put the name in the *dcat sectoren.

so really i can't think of any useful time when to use this.
(i think it was before the maker dicided that *title was putting the name of the disc in the *dcat sectoren.

but it was not right in my smart rom , so i fixed it :)

there will be more changing things when i update the source files
a lot of left over bytes for testing. changing the logica from variables.
( so reading is possible) .




DutchAcorn wrote:
duikkie wrote:found and error in the command *drecat.
who use this command anyway ??

solution : smarttest2108 :)


I have never used *drecat. What does it do? :oops: :?:

duikkie
Posts: 2660
Joined: Fri Feb 07, 2014 3:28 pm

Re: NEW SMART rom: with tubo read /econet?/turbo write

Postby duikkie » Tue Aug 25, 2015 1:24 pm

found this in the manual ;)

The title in the disk table is updated when *TITLE is used, or a (new) disk is formatted using
*DFORM or *DNEW. However, copying a disk using *BACKUP etc. will not update the “Disk
Table”. In this case *DRECAT can be used to refresh the disk table.

so if you use BACKUP :) ( who the hell use this command :)) you have to *drecat !

DutchAcorn wrote:
duikkie wrote:found and error in the command *drecat.
who use this command anyway ??

solution : smarttest2108 :)


I have never used *drecat. What does it do? :oops: :?:

duikkie
Posts: 2660
Joined: Fri Feb 07, 2014 3:28 pm

Re: NEW SMART rom: fix error *drecat 2108

Postby duikkie » Fri Sep 11, 2015 9:53 am

still playing with SMARTTEST rom , you will allways see : i finished the reorganisation of the files that i see some bugs :(

i did remove the startopt% Z and thats not all :( if i put it back at initialiseX at 5-code , the next command is my CLEARAREA , so putting the code in &d52 will not help :(

so back to look at files , the "uitleg files" will have to change allso :(

i will THINK about version SMART SPI 0.10 :) ,

the commands *dmmc will reset everything
but maybe *card can be a soft RESET leaving all values at &d00, with the normal bugs that are also in SUPERROM/TURBO rom
(some out there want bugs in rom , for sideways use :shock: :D :twisted: )

duikkie
Posts: 2660
Joined: Fri Feb 07, 2014 3:28 pm

Re: NEW SMART rom: fix error *drecat 2108

Postby duikkie » Fri Sep 25, 2015 2:38 pm

oke software update of SMARTTESTrom date 2609 :shock:

what is different:

some bytes delete that where dubble. change *help utils now show *dmmc and not *card
*help dutils shows spi0.10.

*dmmc is still hard reset
*card is soft reset , this means that work area will not be cleared. what sometimes will give strange things , but some software want this #-o
for normal use use *dmmc !!!! therefore *card is not showed anymore.
(maybe mmc is not the right statement anymore, how about *DSPI ??)

all files are fixed and you can read the source , whitout lossing in test options and programs
Attachments
SMARTEST2609.zip
(66.07 KiB) Downloaded 37 times


Return to “software: other”

Who is online

Users browsing this forum: No registered users and 3 guests