changes
来自「smallbasic for linux」· 代码 · 共 237 行
TXT
237 行
SmallBASICCurrent version: 0.6.0Platform: PalmOS 3.1+, Unix (console, svgalib, sdl), win32 (sdl)http://smallbasic.sourceforge.netDevelopers----------Nicholas Christopoulos wired_gr@yahoo.com ndcGary A. Clark clarkg@fireserve.net gacAndreas Stuff andreas.stuff@web.de asf--------------------------------------------------------------------------------------------------------------------------------VERSION 0.6.0--------------------------------------------------------------------------------------------------------------------------------2001-05-13: ndc bug fix: v_set array copy backup-bit is enabled when the source file is modified Scientific notation added (both in code and in run-time (input))2001-05-07: ndc #inc:file - #include for BASIC :) Background sound System events check changed (now works with ticks, checked every 50ms)2001-05-06: ndc SPLIT str, del, v() - split text COPY/RENAME filename, newfilename - added ERASE array1, ... - destroy arrays bug fix: multi-dim arrays (dim > 1; element 0 returns the correct ptr) INPUT #N, ... - INPUT for files added Memory optimization (I got ~6-10KB for executor) Virtual Memory & Virtual Memory Tables (only for compiler; maybe later I'll add routines like VMDIM and VMLOCAL) UserFile Viewer - users can view/edit their files (up to 32KB) logfile support (LOGPRINT added for users)2001-05-03: ndc INPUT$(len[,fileN]) - added Serial I/O added (OPEN "COM1:") EXIT [FOR|LOOP|SUB|FUNC] - added pdb2bas & bas2pdb supports sections (up to 256 sections, up to 1MB text) Arrays & vars with the same name does not supported any more Assign arrays "DIM A(4):B()=A()"2001-05-02: ndc SUB/FUNC code finshed LOCAL keyword added (dynamic local variables) DECLARE keyword added (declaration needed for multiple-sections, every section acts as module now)2001-05-01: ndc bug fix: PLAY PEN(3) now supported These sound drivers does not working well. I just dont know anything about soundcards. DSP sound driver for Linux, added SDL sound driver...2001-04-29: ndc PROC/FUNC - starting (todo: JMPs before & after, run-time code) A lot of changes on compiler (I can't write real compiler, there are a lot memory problems)2001-04-16: ndc bug-fix: WHILE/WEND nested blocks--------------------------------------------------------------------------------------------------------------------------------VERSION 0.5.8--------------------------------------------------------------------------------------------------------------------------------2001-04-02: ndc DRAWPOLY array() added TRUE/FALSE system constants added LINECHART,BARCHART system constants added CHART added SVGALIB - clipping is now enabled a few syntax checks added2001-03-30: ndc MAX/MIN added2001-03-18: ndc bug fix: eq with doubles ((1=12/10) now returns false) this is the FOR-NEXT problem with fps bug fix: run-time error if the user had not allocate memory for arrays (DIM)--------------------------------------------------------------------------------------------------------------------------------VERSION 0.5.7--------------------------------------------------------------------------------------------------------------------------------2001-03-10: ndc Some minor bugs of multibyte charsets2001-03-09: ndc Big5 charset support added - thanks to Daniel Yuan-Chih Lin (dan.lin@bigfoot.com) Generic multibyte support added bug fix: SOUND & BEEP volume--------------------------------------------------------------------------------------------------------------------------------VERSION 0.5.6--------------------------------------------------------------------------------------------------------------------------------2001-03-03: ndc SDL driver added Win32 port2001-02-28: ndc Basic FILE I/O2001-02-27: ndc circle's code is beautiful now.2001-02-25: ndc 4bit gray-colors are supported now (PalmOS 3.30 only!) 8bit vga16 hi-colors are fixed bug fix: STR$() INPUT supports more variables2001-02-24: ndc console supports more fonts now ("\e[8xm" x=0..7 for system fonts, "\e[9xm" x=0..4 for SB's fonts) console supports colors ("\e[3xm" x=0..7 ANSI foreground colors) ("\e[4xm" x=0..7 ANSI background colors) RUN command added system variables (see: setsysvar_int|num|str) OSVER - OS version (ex: 0x350 for PalmOS 3.5) OSNAME - OS name SBVER - SmallBASIC version (ex: if sbver < &H506 then ? "RQ 0.5.6+") PI - 3.14.. XMAX,YMAX - graphics display maximum x & y BPP - bits per pixel TXTW(s),TXTH(s) added (text font width & height) X/Win driver added (it needs work, but you can see a preview)2001-02-22: ndc SJIS (Japanese) charset support, thanks to Toshiya Fujii (araiguma@earthlink.net) INPUT stores numeric values if the input-string is a number new method for Palm's PEN events new key codes (new keys FIND & CALC) Arrays & common variables with the same names are acceptable now I don't like it, but its needed (GWBASIC compatibility). DATA skips its code, does not need the first RESTORE any more, strings (DATA) does needs quotes bug fix: (\) integer division operator is now recognized CIRCLE & ARC are working now, but the algorithms are bad. I think 'aspect' does not working well DRAW added (not all commands) - UNTESTED PLAY added - Someone must check the compatibility (QB).2001-02-20: ndc STKDUMP added Several changes on IDE (like fastest scroll)2001-02-19: ndc bug fix: IDE text field focus2001-02-16: ndc bug fix: beam More launch types are supported (useful for Launchers) CAT(x) added, LOCATE y,x added ON x GOTO ... and ON x GOSUB added ... (warning: goto has problems with the stack)2001-02-14: ndc Platform API new method for expressions (ceval, eval modules)2001-02-12: ndc Color support added--------------------------------------------------------------------------------------------------------------------------------VERSION 0.5.5--------------------------------------------------------------------------------------------------------------------------------2001-02-11: ndc decompiler (unix version, -s option) Several bugs of pseudo-compiler are fixed Pseudo-compiler: PASS2 supports GOTO shits (stack) More QB compatibility support New icons v_add() auto type convertion changed (NUM has priority) bug fix: INKEY & INPUT hardware keys codes (again?)2001-02-09: ndc scan & brun: speed optimization ("little/big-endian" convertion code removed) INLINE-IF added (nested inline-if does not suppored). Syntax: IF x THEN [numeric-label]|[...] [ELSE [numeric-label]|[...]] ?bug? fix: PEN(0) - (pen status) starts with status 0 (after a PEN ON command the PEN(0) was 1) bug fix: READ/DATA with arrays bug fix: code_getvarptr() fixed. Now we can use arrays without fear :) bug fix: numeric labels without command next to it bug fix: LET|CONST next to label (ERROR: LET IS KEYWORD) bug fix: finaly the '$' is dead (I hope :). (That means LEFT(x,1) = LEFT$(x,1) but x$ <> x) bug fix: console supports \r bug fix: PAUSE command (it was removed!)2001-02-08: ndc bug fix: BREAK for INPUT Unix <-> win32 (u2d, d2u, mksmall) convertion utilities C Headers & data-types changed; Makefile, .rcp, README: minor changes; proc.h callback.h bcode.h: removed SB small icon, thanks to Christian G. Hvltje2001-02-07: Gary A. Clark - clarkg@fireserve.net bug fix: READing strings now works bug fix: Crash when 'Save As' same file name (Rename did same)2001-02-06: 0.5.5 Gary A. Clark - clarkg@fireserve.net Convert to SDK 3.5 using PalmCompatibility.h bug fix: Hardware keys caused INKEY$ to always return nothing bug fix: VAL(), OCT$(), MID$() and RTRIM$() now work correctly --------------------------------------------------------------------------------------------------------------------------------VERSION 0.5.4a--------------------------------------------------------------------------------------------------------------------------------2001-02-04: 0.5.4a ndc bug fix: last-line text without lf, thanks to Gary Clark Hardware keys supported (keys: 0x101 (up) 0x102 (dn) 0x103 (#1) 0x104 (#2) 0x105 (#3) BREAK (#4))2001-02-04: 0.5.4 ndc bug fix: PalmOS 3.1 fatal exception, Thanks to Christian G. H鰈tje bug fix: PalmOS 3.1 WinDrawChar (displays garbage) changed to WinDrawChars bug fix: BASIC file header (version & signature) Save & Run (S&R) button (EDIT-FORM) New utilities: pdb2bas & bas2pdb for unix console, win32 console & win32 GUI PEN support added (QB lightpen compatible) PEN ON|OFF, x=PEN(y) where y:0 = status 1 = pen-down x, 2 = pen-down y 3 = M$ shit (QBasic) 4 = current x, 5 = current y DIM supports more variables now--------------------------------------------------------------------------------------------------------------------------------VERSION 0.5.3--------------------------------------------------------------------------------------------------------------------------------2001-01-22: 0.5.3 ndc more remarks2000-05-??: 0.5.3 ndc version 0.5.3 ready
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?