|
sl543001
中级用户
  
积分 499
发帖 225
注册 2008-12-30
状态 离线
|
|
2010-4-25 21:58 |
|
|
sl543001
中级用户
  
积分 499
发帖 225
注册 2008-12-30
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
补充:不区分行标,鼠标点在同一列不管高低效果相同
SYBC1.1.41鼠标功能不支持无3方,所以生成了SYBC.COM实体文件
Supplementary: Regardless of row markers, the effect is the same if the mouse is clicked in the same column regardless of height
SYBC1.1.41 mouse function does not support without third parties, so the SYBC.COM entity file is generated
|

SYBNQQ:354324773
|
|
2010-4-25 22:00 |
|
|
jarry0932
初级用户
 
积分 128
发帖 122
注册 2009-9-21
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
支持一下,SYBC,厉害…
Give it a support, SYBC, amazing…
|
|
2010-4-26 00:17 |
|
|
ZJHJ
高级用户
   
积分 609
发帖 374
注册 2006-8-2
状态 离线
|
|
2010-4-26 10:23 |
|
|
ZJHJ
高级用户
   
积分 609
发帖 374
注册 2006-8-2
状态 离线
|
   『第 5 楼』:
使用 LLM 解释/回答一下
建议彩色设置仍然写成无3方载入内存,这样可以单行代码无限制,便于SYBC的发展与应用。可以把支持鼠标功能单独从CMD中放出文件。
我上传一个支持鼠标功能的 ConsExt.exe 与你的1.1.31载入内存式兼容应用.这样用起来非常简单方便.也便于SYBC的发展.把你的鼠标功能写小点(只是因为 ConsExt.exe 200K太大)不要加入其他附属功能.其实ConsExt.exe 也有非常多的功能(也具有彩色字符设置).SYBC的优点就是单行代码设置简单.
@ECHO Off&(CHCP 437 &GRAFTABL 936)>NUL
call :SYBC 103000e 275字节的$0BCMD彩色字符$0E设置模块(1.1.31)$79开发者:jxfa0086768 qq 354324773;$0c设置彩色字符很方便$0f现在看到的演示$6a是单行代码输出效果$0d 在自己的脚本中$2e置入模块$0d并直接;紧跟要求的内容即可$0a因为采用代码载入内存的方式$f9单行代码参数可无限长;$e3使得call次数极少$4c显示速度快$07与ConsExt.exe兼容实现鼠标操作$0f不需要初始化过程;:11001$4c☉$4c▄▄▄▄$4c☉;$c4▌$c9玩家SYBN$4c▌;$c4▌$ce余牌17张$4c▌;$4c☉$c4▄▄▄▄$4c☉;:11601$f1┏━━━━┓;┃╳╳╳╳┃;┃╳$f2地主$f1╳┃;┃╳╳╳╳┃;┃╳$fc2010$f1╳┃;┃╳╳╳╳┃;┗━━━━┛;:11016f0 $e0 $b0 $a0 $d0 $c0 $90 ;$f0 $e0 $b0 $a0 $d0 $c0 $90 ;$f0 $e0 $b0 $a0 $d0 $c0 $90 ;$f0 $e0 $b0 $a0 $d0 $c0 $90 ;$f0 $e0 $b0 $a0 $d0 $c0 $90 ;$f0 $e0 $b0 $a0 $d0 $c0 $90 ;$f0 $e0 $b0 $a0 $d0 $c0 $90 ;$f0 $e0 $b0 $a0 $d0 $c0 $90 ;$f0 $e0 $b0 $a0 $d0 $c0 $90 ;:1094010 1 ;$20 2 ;$30 3 ;$40 4 ;$50 5 ;$60 6 ;$70 7 ;$80 8 ;$90 9 ;$a0 a ;$b0 b ;$c0 c ;$d0 d ;$e0 e ;$f0 f ;:10000$f0 :::│$fC积$f9 电脑左 $f00 $f2+0$fC=$f00 $f0│$fC 斗地主 V0.0 $f0│$f0 $f0│ 底 牌 │::: ;:10100$f0 ::│$fC分$f9 电脑右 $f00 $f2+0$fC=$f00 $f0│$f9开发:SYBN NETBENTON PLP $f0│$f9 电脑左 $f0│ │:: ;:10200$f0 :│$fC榜$f9 玩家SYBN $f00 $f2+0$fC=$f00 $f0│$f22010-3-20 按F1查看帮助$f0│$fD 叫分 3分 $f0│ │: ;:12320ec查看代码;
start "NewThread" /b ConsExt.exe /showtime 54 08 0 10 8 "本地时间:"
::获取鼠标坐标
:hh
ConsExt /event
set /a sbs=%errorlevel%+1
set mX=%sbs:~0,-3%
set mY=%sbs:~-2,2%
call :SYBC 12016$0e 坐标 ( X %mX%, Y %mY% )
::鼠标坐标判断
if %sbs% LSS 500 goto hh
if %mX% GTR 21 if %mX% LSS 28 if %mY%==24 goto kdm
ping/n 0 127.1>nul>NUL
goto hh
::pause>nul
exit
:kdm
start mrt.exe %0
goto hh
:SYBC
SET SYBCOM=A100`80BE AC00 003C 0375 83E9 3C00 ACFF 4275`2CBE AC00 E08A 86AC 50C4 BE1F 0000 3CAC`7553 ACFB 593C F675 3CAC 7542 ACF1 433C`EC75 3CAC 7553 ACE7 3D3C E275 14EB 3CAC`743A 3C0F 740D 3C4D 7400 8349 01EE 48EB`54B4 E8AC 0093 ADE8 3C00 7F18 8A37 E8F0`0087 A1E8 3C00 7F4F 8A2B B0D0 F602 50E2`A0B0 E6F6 035F 57F8 3CAC 7424 E80A 006A`49E8 8A00 EBCA E817 003F CA8A 10EB 00B0`16CD C48A 4CB4 21CD 815F A0C7 5700 B850`B800 0750 2B5A 8AEE ACD1 243C D974 3B3C`8C74 0D3C DE74 003C DA74 233C 0575 D783`EB01 AA01 C28A EBAA E8E0 001D 3C93 7E39`0402 8009 39FB 037E C380 2409 800F 0FE3`10B2 E2F6 C302 D08A ACC3 203C FB74 0D3C`A274 003C 9E74 D88A 3CAC 7420 3CEC 740D`3C93 7400 C38F 2C93 8030 30EB 0AB4 E4F6`C302 C3 `
set SYBCS=%*
SET V=`A80`DB FF``RCX`113`g`Q
(ECHO.%SYBCOM:`=&ECHO.DW %&ECHO.%V:`=&ECHO.%)|DEBUG>nul
goto :EOF
Last edited by ZJHJ on 2010-4-26 at 11:35 ]
It is suggested that the color setting still be written as no third - party loading into memory, so that there can be unlimited single - line code, which is convenient for the development and application of SYBC. The mouse function can be separately released from CMD as a file.
I uploaded a ConsExt.exe that supports the mouse function and is compatible with your 1.1.31 memory - loading application. It is very simple and convenient to use this way, and it is also convenient for the development of SYBC. Please make your mouse function smaller (just because ConsExt.exe is 200K too large) and do not add other auxiliary functions. In fact, ConsExt.exe also has many functions (also has color character setting). The advantage of SYBC is that it is easy to set with single - line code.
@ECHO Off&(CHCP 437 &GRAFTABL 936)>NUL
call :SYBC 103000e 275 - byte $0BCMD color character $0E setting module (1.1.31)$79 Developer: jxfa0086768 qq 354324773;$0c Setting color characters is very convenient$0f The demonstration seen now$6a is the single - line code output effect$0d Place the module in your own script$0d and directly; Follow the required content. Because the code is loaded into memory,$f9 The single - line code parameter can be infinitely long;$e3 Make the call times very few$4c Fast display speed$07 Compatible with ConsExt.exe to realize mouse operation$0f No initialization process is required;:11001$4c☉$4c▄▄▄▄$4c☉;$c4▌$c9 Player SYBN$4c▌;$c4▌$ce Remaining cards 17$4c▌;$4c☉$c4▄▄▄▄$4c☉;:11601$f1┏━━━━┓;┃╳╳╳╳┃;┃╳$f2 Landlord$f1╳┃;┃╳╳╳╳┃;┃╳$fc2010$f1╳┃;┃╳╳╳╳┃;┗━━━━┛;:11016f0 $e0 $b0 $a0 $d0 $c0 $90 ;$f0 $e0 $b0 $a0 $d0 $c0 $90 ;$f0 $e0 $b0 $a0 $d0 $c0 $90 ;$f0 $e0 $b0 $a0 $d0 $c0 $90 ;$f0 $e0 $b0 $a0 $d0 $c0 $90 ;$f0 $e0 $b0 $a0 $d0 $c0 $90 ;$f0 $e0 $b0 $a0 $d0 $c0 $90 ;$f0 $e0 $b0 $a0 $d0 $c0 $90 ;$f0 $e0 $b0 $a0 $d0 $c0 $90 ;:1094010 1 ;$20 2 ;$30 3 ;$40 4 ;$50 5 ;$60 6 ;$70 7 ;$80 8 ;$90 9 ;$a0 a ;$b0 b ;$c0 c ;$d0 d ;$e0 e ;$f0 f ;:10000$f0 :::│$fC Product$f9 Computer left $f00 $f2+0$fC=$f00 $f0│$fC Landlord V0.0 $f0│$f0 $f0│ Bottom card │::: ;:10100$f0 ::│$fC Points$f9 Computer right $f00 $f2+0$fC=$f00 $f0│$f9 Development: SYBN NETBENTON PLP $f0│$f9 Computer left $f0│ │:: ;:10200$f0 :│$fC Rank$f9 Player SYBN $f00 $f2+0$fC=$f00 $f0│$f22010 - 3 - 20 Press F1 to view help$f0│$fD Bid 3 points $f0│ │: ;:12320ec View code;
start "NewThread" /b ConsExt.exe /showtime 54 08 0 10 8 "Local time: "
::Get mouse coordinates
:hh
ConsExt /event
set /a sbs=%errorlevel%+1
set mX=%sbs:~0,-3%
set mY=%sbs:~-2,2%
call :SYBC 12016$0e Coordinates ( X %mX%, Y %mY% )
::Mouse coordinate judgment
if %sbs% LSS 500 goto hh
if %mX% GTR 21 if %mX% LSS 28 if %mY%==24 goto kdm
ping/n 0 127.1>nul>NUL
goto hh
::pause>nul
exit
:kdm
start mrt.exe %0
goto hh
:SYBC
SET SYBCOM=A100`80BE AC00 003C 0375 83E9 3C00 ACFF 4275`2CBE AC00 E08A 86AC 50C4 BE1F 0000 3CAC`7553 ACFB 593C F675 3CAC 7542 ACF1 433C`EC75 3CAC 7553 ACE7 3D3C E275 14EB 3CAC`743A 3C0F 740D 3C4D 7400 8349 01EE 48EB`54B4 E8AC 0093 ADE8 3C00 7F18 8A37 E8F0`0087 A1E8 3C00 7F4F 8A2B B0D0 F602 50E2`A0B0 E6F6 035F 57F8 3CAC 7424 E80A 006A`49E8 8A00 EBCA E817 003F CA8A 10EB 00B0`16CD C48A 4CB4 21CD 815F A0C7 5700 B850`B800 0750 2B5A 8AEE ACD1 243C D974 3B3C`8C74 0D3C DE74 003C DA74 233C 0575 D783`EB01 AA01 C28A EBAA E8E0 001D 3C93 7E39`0402 8009 39FB 037E C380 2409 800F 0FE3`10B2 E2F6 C302 D08A ACC3 203C FB74 0D3C`A274 003C 9E74 D88A 3CAC 7420 3CEC 740D`3C93 7400 C38F 2C93 8030 30EB 0AB4 E4F6`C302 C3 `
set SYBCS=%*
SET V=`A80`DB FF``RCX`113`g`Q
(ECHO.%SYBCOM:`=&ECHO.DW %&ECHO.%V:`=&ECHO.%)|DEBUG>nul
goto :EOF
Last edited by ZJHJ on 2010 - 4 - 26 at 11:35 ]
附件
1: CMD彩色字符设置SYBC1.1.31.rar (2010-4-26 11:11, 36.18 KiB, 下载附件所需积分 1 点
,下载次数: 17)
|
|
2010-4-26 11:05 |
|
|
weasel
初级用户
 
积分 118
发帖 66
注册 2006-8-18
状态 离线
|
|
2010-4-26 11:13 |
|
|
sl543001
中级用户
  
积分 499
发帖 225
注册 2008-12-30
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
4楼可能没有成功生成SYBC.COM
此脚本默认不替换同目录的旧版SYBC.COM,可以尝试强制替换
附件:强制替换版的脚本
Last edited by sl543001 on 2010-4-26 at 22:48 ]
The 4th floor may not have successfully generated SYBC.COM.
This script does not replace the old version of SYBC.COM in the same directory by default. You can try forced replacement.
Attachment: Script for forced replacement
Last edited by sl543001 on 2010-4-26 at 22:48 ]
附件
1: 鼠标控制命令行输入2010-4-26.rar (2010-4-26 22:48, 2.02 KiB,下载次数: 20)
|

SYBNQQ:354324773
|
|
2010-4-26 20:20 |
|
|
sl543001
中级用户
  
积分 499
发帖 225
注册 2008-12-30
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
昨天写了SYBC的1.1.43版,支持获取鼠标的行号列号记忆按键,不过还有点BUG,暂时先不发了.
关于单独放一个鼠标的COM文件,这个事没有问题的,但没有必要,因为SYBC小于一个簇,拆成2个会浪费空间.
不过还是发一个吧:
参数
mous 无参数 等待按键并获取列号
mous h 获取刚才的列号
mous AJ 获取刚才的按键 1=左键 2=右键 可能出现0和3
I wrote version 1.1.43 of SYBC yesterday, which supports getting the row and column numbers of the mouse and remembering the key pressed, but there are still some bugs, so it won't be released for now.
Regarding putting a separate mouse COM file alone, there's no problem with that, but it's not necessary because SYBC is smaller than one cluster, and splitting it into two would waste space.
But I'll still release one:
Parameters
mous without parameters: wait for a key press and get the column number
mous h: get the previous column number
mous AJ: get the previous key pressed. 1 = left button, 2 = right button. May appear 0 and 3
附件
1: 鼠标.rar (2010-4-26 20:26, 152 bytes,下载次数: 21)
|

SYBNQQ:354324773
|
|
2010-4-26 20:26 |
|
|
ZJHJ
高级用户
   
积分 609
发帖 374
注册 2006-8-2
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
我感觉80字节的mous.com还需要改进......
1. 启用 ntvdm占用cpu太高(几呼100%),这是最致命的,运行程序会非常卡,应该启用后立即退出。而在ConsExt.exe中也同样启用了 ntvdm,却不存在占用cpu过高的情况,而是及时恢复到0。
2. X,Y坐标 不能同时获取启用,限制了用户在其他地方的发展,这样就失去了CMD启用支持鼠标的实际意义。很难做到X,Y条件判断并 goto.....
3. 如果启用 h 参数,在不点击鼠标时%errorlevel%也不断获取Y坐标数据。
Last edited by ZJHJ on 2010-4-27 at 17:11 ]
I feel that the 80-byte mous.com still needs improvement...
1. Enabling ntvdm occupies too much CPU (almost 100%), which is the most fatal. Running programs will be very slow, and it should exit immediately after enabling. However, ntvdm is also enabled in ConsExt.exe, but there is no situation of excessive CPU occupancy, but it recovers to 0 in time.
2. The simultaneous acquisition of X and Y coordinates cannot be enabled, which limits the development in other places, and thus loses the practical significance of CMD enabling mouse support. It is difficult to do X and Y condition judgments and then goto...
3. If the h parameter is enabled, the Y coordinate data is continuously acquired even when the mouse is not clicked, and the %errorlevel% is also obtained.
Last edited by ZJHJ on 2010-4-27 at 17:11 ]
|
|
2010-4-27 09:02 |
|
|
gudou
初级用户
 
积分 43
发帖 29
注册 2008-3-31
状态 离线
|
|
2010-5-2 14:07 |
|
|
bluejort
新手上路

积分 1
发帖 1
注册 2010-4-30
状态 离线
|
|
2010-5-2 14:50 |
|
|
sl543001
中级用户
  
积分 499
发帖 225
注册 2008-12-30
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
还有些小问题没解决
There are still some small problems that haven't been solved
|

SYBNQQ:354324773
|
|
2010-5-10 18:05 |
|
|
ZJHJ
高级用户
   
积分 609
发帖 374
注册 2006-8-2
状态 离线
|
『第 13 楼』:
使用 LLM 解释/回答一下
你那个80字节的 mous.com 能按 九楼 的要求修改一下吗?(关键问题是CPU占用)
再加个时间获取显示功能。谢谢!
Can you modify that 80-byte mous.com according to the request of the ninth floor? The key issue is CPU usage. Also add a function to obtain and display time. Thanks!
|
|
2010-5-10 21:55 |
|
|
214136
新手上路

积分 18
发帖 11
注册 2010-5-28
状态 离线
|
|
2010-6-2 18:19 |
|