网页资讯视频图片知道文库贴吧地图采购
进入贴吧全吧搜索

 
 
 
日一二三四五六
       
       
       
       
       
       

签到排名:今日本吧第个签到,

本吧因你更精彩,明天继续来努力!

本吧签到人数:0

一键签到
成为超级会员,使用一键签到
一键签到
本月漏签0次!
0
成为超级会员,赠送8张补签卡
如何使用?
点击日历上漏签日期,即可进行补签。
连续签到:天  累计签到:天
0
超级会员单次开通12个月以上,赠送连续签到卡3张
使用连续签到卡
05月10日漏签0天
fx-es(ms)吧 关注:17,162贴子:310,093
  • 看贴

  • 图片

  • 吧主推荐

  • 视频

  • 游戏

  • 8回复贴,共1页
<<返回fx-es(ms)吧
>0< 加载中...

991CNX/580VNX render_bitmap

  • 只看楼主
  • 收藏

  • 回复
  • casio2009
  • 991EX
    8
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
Sorry, I don't know Chinese, so I use English instead. And my main calculator model I used is 580VNX. Don't worry, I still work for 991cnx because I have my ability to translate gadget.
0:8AD0 is the good function can print any image at any size you want (even a small obstacle), the maximum size here i think is 192x63 (write in hex: C0x3F). This is a few first instructions of 0:8AD0 I will show you:
0:8AD0H PUSH XR4
0:8AD2H PUSH QR8
0:8AD4H ADD SP, -04H
0:8AD6H MOV ER8, SP
0:8AD8H L ER8, +14H【ER8】
0:8ADCH BEQ .l_0A6
.l_010:
0:8ADEH MOV ER10, ER2
0:8AE0H ADD R10, #-1H
0:8AE2H MOV R5, R10
0:8AE4H PUSH ER0
0:8AE6H ADD R0, R2
0:8AE8H BLT .l_0AE
0:8AEAH CMP R0, #C1H
0:8AECH BGE .l_0AE
0:8AEEH ADD R1, R3
0:8AF0H BLT .l_0AE
0:8AF2H CMP R1, #41H
0:8AF4H BGE .l_0AE
0:8AF6H POP ER0
0:8AF8H MOV ER2, SP
0:8AFAH BL f_08750
0:8AFEH MOV R7, R0
【and so on, please read the 991cnx disas for more information】
If you look carefully, it used BL 0:8750, it means it will call that function to convert the coordinates to the corresponding address and print it at the correct position on the screen.


  • casio2009
  • 991EX
    8
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
On the 2nd floor, I will show you the syntax to use. (Note: If you want to use with loop, please add the restore loop after the syntax.)
The syntax (I write it in rop-asm format):
def 08AD0 render_bitmap
org <address>
home:
pop xr0
<pos_x>, <pos_y>, <size_x>, <size_y> ;note: if you put <size_x> to C0 (dec: 192) and <size_y> to 3F (dec: 63) then <pos_x> and <poss_y> should be set to 00
render_bitmap
pop er0
adr_of picture
render.ddd4
BRK
picture:
<insert hex of your picture here>
Explaination of my pseudo rop-asm syntax:
- Def <gadget> mean I define the gadget with labels.
- Org <address> mean define where the program starts.
For example, I write this pseudo rop-asm with "org 0xD830" mean we will start injecting the program at 0xD830.
So the program after I compile by hand should look like this:
D830:
34 61 01 00 <pos_x> <pos_x> <size_x> <size_y>
8A D0 00 00 40 26 01 00 4A D8 06 87 00 00 30 30 03 00 <picture>
For example, run this program (inject to 0xD830):
"34 61 01 00 20 20 08 08 8A D0 00 00 40 26 01 00 4A D8 06 87 00 00 30 30 03 00 FF FF FF FF FF FF FF FF"
Use this launcher (no an required): "FD24 2E D8 D8 91 30 30 10 93 30 30 70 0D 32"
The result should be displaying a square box on the screen, it means the syntax is correct.


广州道然文化传播有限公司
生肖运势:财富、婚姻、事业,一键查询生肖运势:一键领取生肖报告
2025-05-10 15:47广告
立即查看
2025-05-10 15:47:42
广告
  • 贾金夏考试成绩
  • 991EX
    8
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
歪果仁


  • 贴吧用户_Q4Rt9XA
  • TI-84+
    11
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
Are you planning to make function_graph ROP by this?


  • hieuxyz
  • 991EX
    8
该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
and yeah i did use it to make a little game


登录百度账号

扫二维码下载贴吧客户端

下载贴吧APP
看高清直播、视频!
  • 贴吧页面意见反馈
  • 违规贴吧举报反馈通道
  • 贴吧违规信息处理公示
  • 8回复贴,共1页
<<返回fx-es(ms)吧
分享到:
©2025 Baidu贴吧协议|隐私政策|吧主制度|意见反馈|网络谣言警示