![]() |
Forum Index : Microcontroller and PC projects : CMM2: V5.05.04RC14 - performance tuning
Author | Message | ||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10310 |
V5.05.04RC14 http://geoffg.net/Downloads/Maximite/CMM2_Beta.zip Significant performance enhancements (c 10%) More special case code for the EXECUTE command when "executing" the RUN command: It now will interpret the search path and will not tokenise text after the filename literal |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4311 |
Wonderful Peter, I've tested the tokenisation update to EXECUTE and it works. Thank you, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
MauroXavier Guru ![]() Joined: 06/03/2016 Location: BrazilPosts: 303 |
Incredible performance gain! From 8.44 FPS to 9.45 FPS on Wolf 3D in a medium demand area (to gain one more single frame per second is a hard task in this game). And OPTION RAM no more gives a syntax error. Thanks a lot! |
||||
mkopack73 Senior Member ![]() Joined: 03/07/2020 Location: United StatesPosts: 261 |
Ok, not sure if this is the new spot to report errors... I'm still on RC 4 but given nobody has reported this I suspect it's still a bug... if you try to do the following: sprite read (myvar+1), x,y,width,height,pagenum it will give the following error: Error: READ is not declared Seem like it's not possible to calculate the sprite number in the read command. I'm wondering if that's why I'm also having problems then trying to do sprite show (myvar+1) and getting back an Error: Buffer not in use |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
sprite read (myvar+1), x,y,width,height,pagenum Try removing the brackets: sprite read myvar+1, x,y,width,height,pagenum MMBasic is looking for an array called read() Jim VK7JH MMedit |
||||
TassyJim![]() Guru ![]() Joined: 07/08/2011 Location: AustraliaPosts: 6283 |
A bug for you Peter. If a variable starts with rem and is the first 'word' on a line, it is treated as a remark. remainder=4 remi = 6 remo = 8 PRINT remainder PRINT remi PRINT remo DIM remain=4 f=0 : remi = 6 IF x = x THEN remo = 8 PRINT remain PRINT remi PRINT remo 0 0 0 4 6 8 > The work-around is to rename the variable. Jim VK7JH MMedit |
||||
robert.rozee Guru ![]() Joined: 31/12/2012 Location: New ZealandPosts: 2442 |
aha! that would explain why one of the programs i wrote would never work. it was for calculating the remaining space left in a removal truck, and email you a reminder when space was getting low ![]() cheers, rob :-) |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |