Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 17:45 16 May 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Possible BUG in MKII 4.6. B20

Author Message
atmega8

Guru

Joined: 19/11/2013
Location: Germany
Posts: 712
Posted: 09:06am 07 Nov 2014
Copy link to clipboard 
Print this post

Hi,

possible a bug?
Stripped it down to some codelines.

No Output from print

and reset.....




print "Hello World"
Do

r% = CPUSpeed( 0 )
PRINT r%
loop

CFunction CPUSpeed 00000000
2bf81 8c45f000 8c43f000 3c02003d 24420900 7ca51400 70a23002 3c040393
48700 7c6316c0 00c41021 00621007 3c03029f 24636300 10430005 00402021
02821 00801021 03e00008 00a01821 3c0402dc 34846c00 00002821 00801021
00008 00a01821
End CFunction



Following Output:


> run
Micromite MkII MMBasic Ver 4.6 Beta 20
Copyright 2011-2014 Geoff Graham

>
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5923
Posted: 11:56am 07 Nov 2014
Copy link to clipboard 
Print this post

Your cfunction has the first 3 leading digits missing from each line

CFunction CPUSpeed 00000000
3c02bf81 8c45f000 8c43f000 3c02003d 24420900 7ca51400 70a23002 3c040393
34848700 7c6316c0 00c41021 00621007 3c03029f 24636300 10430005 00402021
00002821 00801021 03e00008 00a01821 3c0402dc 34846c00 00002821 00801021
03e00008 00a01821
End CFunction


Jim

VK7JH
MMedit   MMBasic Help
 
atmega8

Guru

Joined: 19/11/2013
Location: Germany
Posts: 712
Posted: 01:24pm 08 Nov 2014
Copy link to clipboard 
Print this post

Tassjim,

Thank you, you directed me to The problem.

IT must be an issue with The latest mmedit version.

Will try to reproduce it.

I copied and paste to a New programm, With this result.
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 5923
Posted: 03:03pm 08 Nov 2014
Copy link to clipboard 
Print this post

I used MMEdit to copy and paste form the PDF to MMEdit without any problems so if you can reproduce the error and give me the steps, I would be grateful.

The only problems that cfunctions created was that they looked like line numbers. I think I have got rid of that problem and I hope there aren't too many people still using line numbers!

Jim

VK7JH
MMedit   MMBasic Help
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024