User Activity

  • Posted a comment on discussion Open Discussion on GCBASIC

    Thinking one dimensionally ! Never gave UTF character coding a thought ! Andrew

  • Posted a comment on discussion Open Discussion on GCBASIC

    Yes, that's fixed it ! Oddly it wasn't showing on the terminal software I'm using but just occasionally it displayed two unknown characters prior to 2024. Project was running tight on memory - so just got a batch of 16LF18326s from Mouser, so lots more room for play - jumped from (Memory 1810/2048 words RAM 184/256 bytes) to (Memory 1824/16384 words RAM 244/2048 bytes) and power consumption remained the same. Thanks, Andrew

  • Posted a comment on discussion Open Discussion on GCBASIC

    Since my last few problems, I'm keeping a much closer eye on the compiled code - a good learning exercise ! I noted that the string associated with HSerPrint "©2024" results in a compiled 6 character string : StringTable5 retlw 6 retlw 194 ;� retlw 169 ;� retlw 50 ;2 retlw 48 ;0 retlw 50 ;2 retlw 52 ;4 © is ASCII 169 / xA9 ... you knew that it was coming ... what's the  194 / C2 doing there ? Thanks, Andrew

  • Posted a comment on discussion Open Discussion on GCBASIC

    I ended up with 1M ... seems to work and every uA is precious !

  • Posted a comment on discussion Open Discussion on GCBASIC

    With the greatest thanks to Anobium, the issue was pinpointed and resolved. In my boundless optimism, I thought I could create my own assembler code that would be faster and better tailored to my needs. Well, on both counts, I was wrong. My enthusiasm led me down a journey following the white rabbit to where logic made no sense. It turns out my mistake was due to page errors, with my code joyfully using invalid addresses and wreaking havoc on my program. Lesson learned ! Problem now is that the solution...

  • Posted a comment on discussion Open Discussion on GCBASIC

    Thought that I'd move away from the ADC problem for a bit and carry on with a sample trigger based around Timer2 set to generate an interrupt every second. Despite having written a test program that uses both ADC and Timer2 code that works, putting them into my main program adds to the continuance of "something's wrong". The problem all along is that it stubbornly refuses to happen in small test programs. Today, whilst trying to add a Timer2 interrupt handler, I discovered that just the addition...

  • Modified a comment on discussion Open Discussion on GCBASIC

    Another day gone trying to figure out why my project crashes whilst trying to read ADRES. Still trying to reproduce it in a small test project, again without success. It's not the interrupt as I wrote it all inline and as soon as I include any reference to ADRES the result is a crash - nothing runs; the registers must be getting initialized as the WD times out at my setting of 8 seconds. Even adding a LED on/off blink at the very start does nothing - the only way I know that the WD is working is...

  • Posted a comment on discussion Open Discussion on GCBASIC

    Another day gone trying to figure out why my project crashes whilst trying to read ADRES. Still trying to reproduce it in a small test project, again without success. It's not the interrupt as I wrote it all inline and as soon as I include any reference to ADRES the result is a crash - nothing runs; the registers must be getting initialized as the WD times out at my setting of 8 seconds. Even adding a LED on/off blink at the very start does nothing - the only way I know that the WD is working is...

View All

Personal Data

Username:
andrewjameson
Joined:
2021-03-08 11:04:34
Location:
Britain (UK) / BST
Gender:
Male

Projects

  • No projects to display.

Personal Tools