<tabemann>
my thought is your machine provides more power to the board than mine
<tabemann>
so at 168 MHz it was occasionally having brownouts
<tabemann>
on my machine
<tabemann>
because now at 120 MHz it's not rebooting anymore
<tpbsd>
tabemann, mine is powered by two usb psu's, you may be right
<tpbsd>
tabemann, Ive removed one psu, now it's powered by a usb3.3v dongle
<tpbsd>
tabemann, I've just measured the current drawn by the entire boar, it = 0.09 A
<tpbsd>
thats only 90 mA
jsoft has joined #forth
<tabemann>
interesting
<tabemann>
why would mine be unstable at 168 MHz while yours is not?
<tpbsd>
hmm I reset the board and my dinky USB power meter now shows 0.17 A
<tabemann>
are you running the code with my sleep in place?
<tabemann>
search task.fs for "sleep" (without quotes)
<tpbsd>
by comparison my M0 running at 75 Mhz (overclocked) board draws 0.02 A
<tpbsd>
just loading basic.fs atm
<tpbsd>
tabemann, how do I compile basic.fs into flash ?
<tabemann>
the kernel + basic.fs does a spinwait
<tabemann>
tpbsd: when you load it it should do it itself
<tabemann>
the first non-comment, non-blank line in basic.fs is compile-to-flash
<tpbsd>
it doesnt compile into ram by default ?
<tabemann>
no
<tabemann>
it's essentially everything you'd want to have which isn't in the kernel and isn't stuff like systick, interrupt USART, multitasking, or extra peripheral drivers (e.g. LEDs)
<tpbsd>
oops, sillme I should have checked!
<tabemann>
so naturally it'd compile itself into flash
<tabemann>
what, have you been reloading basic.fs every time you power cycle?
<tpbsd>
and it is, I can reboot and "words" is still there
<tpbsd>
yeah
<tabemann>
that's a good way to eat up flash quickly
<tabemann>
basic.fs is pretty large these days
<tpbsd>
It didnt give me a heap of 'redefined' warnings
<tpbsd>
20k
<tabemann>
that's because zeptoforth currently doesn't have those
<tpbsd>
no problemo
<tpbsd>
it's going well at this early stage!
<tpbsd>
I meant it more as Im so used to seeing 'redefined' so I just assumed ....
<tabemann>
I should make a mechanism to compress code compiled to flash by omitting a lot of the padding optionally
<tpbsd>
I havent loaded task.fs as yet
<tpbsd>
how do I erase flash to get rid of all the many basic.fs ?
<tabemann>
unfortunately I don't have erasure implemented for the f407 yet
<tabemann>
so basically you have to st-flash erase
<tpbsd>
ah ok
<tpbsd>
I should have thought of that myself!
<tpbsd>
tabemann, I see "sleep" is commented out in task.fs
<tpbsd>
I havent loaded task.fs as yet
<tabemann>
okay, so task.fs will do a busy-wait
<tpbsd>
do you want it loaded ?
<tpbsd>
do you want the sleep uncommented ?
<tabemann>
the reason to have it commented is that I was having IO problems with sleep in place
<tpbsd>
i know
<tpbsd>
you want me to try it ?
<tpbsd>
why did you mention it above ?
<tabemann>
I was asking because if it did work for you, having sleep in place might reduce power usage
<tpbsd>
oh ok, easily done
<tabemann>
and I didn't know if you had it in place or not
<tpbsd>
not yet, I'll try it now
<tabemann>
it likely will fail to load source files after loading task.fs with that in place
<tpbsd>
hey that was cool!
<tpbsd>
the sleep command was run, power dropped to 0.07A and when I hit enter it woke up and gave the prompt, but then halted wi*** exit status: 0 **"th "
<tpbsd>
so looked good, just raised a exception on retirning from sleep I guess
<tpbsd>
reboot and then running "sleep" results in it staying asleep
<tpbsd>
so youre pretty close I think
<tpbsd>
so real power usage for the whole board is 0.17 A or 170 mA
<tpbsd>
which is pretty high
<tabemann>
back
<tabemann>
I added code compression
<tabemann>
and got basic.fs down to 13K
<tabemann>
exit status: 0 isn't an error message zeptoforth produces
<tpbsd>
so where did it come from ?
<tabemann>
sounds like an error from sleep
<tabemann>
zeptoforth doesn't have numeric error codes
<tpbsd>
sleep produces a error on th terminal ???
<tabemann>
errors in zeptoforth are actually all functions that, when called, produce a human-readable error message
<Kumool>
crab1: everything that's fun is proprietary
<Kumool>
theres no FFV for the gameboy though
<crab1>
"everything that's fin is proprietary" how
<crab1>
s/fin/fun
<Zarutian_HTC>
Kumool: you sure?
<Kumool>
greed crab1, greed
<crab1>
greed is no fun
<Kumool>
greed is fun for the instantiator I guess
<crab1>
Maybe for a time, but it probably doesn't remain fun
<Kumool>
Zarutian_HTC: and I'm not sure of anything, if however you had found a name generator and the bastard didn't release it in github or romhacking, f that guy
<Kumool>
crab1: video games are mostly propietary, which are quite fun
<crab1>
greed is usually rooted in like fear or feelings of insecurity so it can't be too much fun in the end
<Kumool>
for when having fun, means just that and not having a headache
<Zarutian_HTC>
the issue was that github had not existed at the time when the person had extracted the generator from the rom
<Kumool>
Zarutian_HTC: sourceforge probably did
<Zarutian_HTC>
not sure if romhacking existed back then
<crab1>
how long ago was this?
<Kumool>
gosh, is it in some geocities websites or some sort of yahoo group then?
<Zarutian_HTC>
the thing is, the extracted name algo had been translated into simple javascript
<Kumool>
that's nice
<Zarutian_HTC>
i am currently going thriugh rom maps of the ff
<Zarutian_HTC>
s
<Zarutian_HTC>
just mad at meself for not saving that thing on my computer
<Kumool>
why do you want it btw?
<Kumool>
its weird to want a name generator for gameboy
<Zarutian_HTC>
function naming to annoy the crap of a frenimy of mine
<Kumool>
also why ask here? go to like, the romhacking discord or some emulator channel
<Zarutian_HTC>
eh, it was part of the text compression used
<Zarutian_HTC>
I am thinking about porting the thing to Forth too ;)
<crab1>
which forth(s)
<crab1>
do most of yall use
<Zarutian_HTC>
and I wasnt actually asking just saying what I was up to ;þ
<Kumool>
ah
X-Scale has quit [Ping timeout: 258 seconds]
<Kumool>
:)
<Kumool>
well, nevertheless, the people there are more helpful... well, they'll at least know more there
<Zarutian_HTC>
crab1: a moddified and ported eForth
X-Scale` has joined #forth
<crab1>
I need to write a forth for use with 9front
X-Scale` is now known as X-Scale
<Zarutian_HTC>
Kumool: naah you actually were helpfull by pointing out romhacking
tabemann has joined #forth
<crab1>
welcome
<Kumool>
crab1: is 9front worth using?
<crab1>
in a lot of ways, yes
<crab1>
but it's gonna take some work to make it my main system
<crab1>
It doesn't have: Matrix(messaging platform), Most languages I'd like to use, Can't do online banking as far as I can tell, not sure if I have any way to screencast, doesn't support playback of any video format
<crab1>
and that's just a few of the missing things I make use of on a regular basis
<Kumool>
basically useless
<tabemann>
hey guys
<crab1>
browsing pages without javascript works no problem, my hardware is mostly supported, email is easy, a lot is there
<crab1>
tabemann: hi
<Kumool>
better use a vmware or something
<crab1>
Kumool: I don't like to do that
<Kumool>
neither do I
<crab1>
I want a consistent interface
<Kumool>
how about the community? is it still a bunch A's and D's?
<crab1>
I have had mixed results with the community, I think there are a couple bad apples but most of them seem nice