0x10c way to explore https:https://cdn.v2ex.com/navatar/2bb2/32c0/523_normal.png?m=1643941216 https:https://cdn.v2ex.com/navatar/2bb2/32c0/523_large.png?m=1643941216 2024-04-05T02:22:44Z Copyright © 2010-2018, V2EX 关于日本🇯🇵和国内小病医疗的疑问和探讨 tag:www.v2ex.com,2024-04-15:/t/1032528 2024-04-15T02:22:44Z 2024-04-05T02:22:44Z FeifeiJin member/FeifeiJin


那么问题就来了,在国内我的扁桃体也经常性化脓,我直接打车去深圳南山医院急诊,注射头孢,立马回复元气。



想在这里讨论,日本的小病医疗制度就优于国内吗,对于免疫力低的人,吃药根本就只是安慰剂。



我个人体感来说 ,每次在日本扁桃体发炎,化脓我都认为这个国家 sucks 。



以及衍生讨论,西方国家都是这样吗,小病直接可以把人拖到厌世? ]]>
DCPU-16 1.1 tag:www.v2ex.com,2012-04-26:/t/33668 2012-04-26T06:52:33Z 2012-04-26T07:01:51Z freewizard member/freewizard http://www.reddit.com/r/dcpu16/comments/sqfre/rfe_dcpu16_11/



Swapped the names of "a" and "b" to make it more clear what gets processed first, and to make special opcodes not have only a b value.
Added a very basic interrupt handler
Outlined some hardware detection basics
Made the text 80 characters wide because 80's
Implemented ALL of following:

DCPU-16 Spec Suggestions
=======================

1. Evaluate b before a
----------------------------------------------
This makes instructions that address the stack twice meaningful instead of confusing and useless.

`ADD PEEK, POP` *should* pop the top of the stack and add it to the second entry, but currently the `PEEK` is evaluated before the `POP` occurs.

2. Add [SP+next word] addressing
----------------------------------------------
This makes writing functions that store extra variables or arguments on the stack easier.

POP isn't useful as an a value, and PUSH isn't useful as a b value, so they should be combined into one value, with postincrement and predecrement determined by whether they're in a/b.

3. Make opcodes 5 bits
--------------------------------
A literal a value is not very useful, and having 2x more opcodes is very useful.
bbbbbbaaaaaaoooo
becomes
bbbbbbaaaaaooooo

4. Make literal range include -1.
-----------------------------------
Shift the literal range from [0, 31] to [-1, 30].

Having -1 as a literal lets you useful one-word instructions like:
``` NEG X --> MUL X, -1
NOT X --> XOR X, -1```

5. Rename O register to EX or OV
-------------------------------------
O and 0 are very easy to confuse, other special registers are two characters, and it doesn't always represent overflow.

6. Add signed MUL/DIV instructions
--------------------------------------
Signed operations make maneuvers, targeting, and fixed-point trigonometry routines more efficient.

Suggested mnemonics: `MLI`, `DVI`.

7. Add signed right shift (ASR)
-----------------------------------------
Signed operations are useful.

8. Add additional IF instructions
------------------------------------
Supporting all the relations (<, >, <=, >=) will make assembly easier to write and read. Suggested mnemonics and effects:

0x11: IFB a, b - performs next instruction only if (a&b)!=0 (Bit set)
0x12: IFE a, b - performs next instruction only if a==b (Equal)
0x13: IFN a, b - performs next instruction only if a!=b (Not equal)
0x14: IFG a, b - performs next instruction only if a>b (signed) (Greater)
0x15: IFA a, b - performs next instruction only if a>b (unsigned) (Above)
0x16: IFL a, b - performs next instruction only if a<b (signed) (Less)
0x17: IFU a, b - performs next instruction only if a<b (unsigned) (Under)


Appendix A.
===========
1. Fix line drawing characters
------------------------------
As [jecowa noted on reddit](http://www.reddit.com/r/dcpu16/comments/sio8u/dcpu_font_help_what_are_those_first_30ish_glyphs/c4ekx9u), you can't make full boxes with the current line drawing characters.

These 22 glyphs let you draw boxes:

│─└┌┐┘┴├┬┤┼

║═╚╔╗╝╩╠╦╣╬

Suggestions for extra 5 glyphs:

° (Degree) and ♠♥♦♣ (Card suits)

Note that the full block █ with fg color X is equivalent to space with bg X. Replace it with a dithered ▒ half-block. ]]> 谁能介绍一下0x10c到底神奇在什么地方? tag:www.v2ex.com,2012-04-17:/t/32468 2012-04-17T07:08:05Z 2012-04-18T11:30:44Z feilaoda member/feilaoda 为啥搞一个这样的游戏来? ]]> 有种撞车的赶脚 tag:www.v2ex.com,2012-04-06:/t/31490 2012-04-06T01:31:58Z 2012-04-07T01:36:09Z aligo member/aligo t/28870
然后就丢在一边了。。。



有人想一起来继续做这个东西吗。。。 ]]>
0x10c 最初的一些屏幕截图 tag:www.v2ex.com,2012-04-05:/t/31478 2012-04-05T21:29:51Z 2014-02-26T02:59:22Z Livid member/Livid http://0x10cforum.com/forum/m/4932880/viewthread/2702855-game-screenshot ]]> 0x10c-asm tag:www.v2ex.com,2012-04-05:/t/31428 2012-04-05T09:25:26Z 2012-04-07T01:40:57Z Livid member/Livid http://pypi.python.org/pypi/0x10c-asm/0.0.2

Python 版本的实现也出来了。 ]]>
这个0x10c弄的cpu看着还挺真的嘛 tag:www.v2ex.com,2012-04-04:/t/31371 2012-04-04T18:38:37Z 2012-04-06T14:15:26Z virushuo member/virushuo http://0x10c.com/doc/dcpu-16.txt

然后瞬间就有人做出来了模拟器…

https://github.com/swetland/dcpu16 ]]>
ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86